diff options
| author | Enrico Jörns <ejo@pengutronix.de> | 2025-07-03 12:23:01 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-07-17 13:57:58 -0700 |
| commit | 2a8a9502f586c085e08dca9dfd4ff3ce4e23fea2 (patch) | |
| tree | a803969cb1f50b80b44aaaa1d52dc55dfe611c62 /scripts/patchtest | |
| parent | db7fcba5ddd5f383c7632cee01548e65e3566934 (diff) | |
| download | poky-2a8a9502f586c085e08dca9dfd4ff3ce4e23fea2.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: 462059ebbf25ed362a5ace1987f0684444441a7f)
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/patchtest')
0 files changed, 0 insertions, 0 deletions
