summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/create_buildsys_python.py
diff options
context:
space:
mode:
authorEnrico Jörns <ejo@pengutronix.de>2025-07-03 12:23:01 +0200
committerSteve Sakoman <steve@sakoman.com>2025-07-11 08:11:53 -0700
commit045c6b1669c11e44f4b14c8f44dc4f3458bb4fca (patch)
treecb62586636cb8f5ae24f841014eba6f6789261b6 /scripts/lib/recipetool/create_buildsys_python.py
parent395f818c91975053b64af802a625430cb661476f (diff)
downloadpoky-045c6b1669c11e44f4b14c8f44dc4f3458bb4fca.tar.gz
conf.py: improve SearchEnglish to handle terms with dots
While search queries already handled words with hyphens correctly, they did not do so for words with dots. To fix this, we - enhance the word tokenizer to treat both dots ('.') and hyphens ('-') as valid characters within words. (For robustness, explicitly exclude dots/hyphens at the start or end of a word from indexing.) - adjust query processing to avoid splitting on dots in search input This allows search queries to correctly match terms such as 'local.conf', 'site.conf', and similar ones now. Fixes: [YOCTO #14534] (From yocto-docs rev: 3f88cb85cca8f9128cfaab36882c4563457b03d9) Signed-off-by: Enrico Jörns <ejo@pengutronix.de> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit 80084a4cabdf7f61c7e93eda8ddbd5bc7d54e041) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys_python.py')
0 files changed, 0 insertions, 0 deletions