Search improvements - #1499
Open
tillprochaska wants to merge 17 commits into
Open
Conversation
tillprochaska
force-pushed
the
search-improvements
branch
2 times, most recently
from
July 9, 2026 14:04
849d893 to
f5f4cad
Compare
tillprochaska
marked this pull request as draft
July 9, 2026 14:07
tillprochaska
force-pushed
the
search-improvements
branch
11 times, most recently
from
July 12, 2026 20:24
3b3d15c to
5044cdf
Compare
tillprochaska
marked this pull request as ready for review
July 12, 2026 20:24
Collaborator
|
@tillprochaska I still have budget and saw that you asked for Copilot, which is why I ran it. |
tillprochaska
force-pushed
the
search-improvements
branch
from
July 12, 2026 22:35
5044cdf to
0100112
Compare
tillprochaska
force-pushed
the
search-improvements
branch
from
July 13, 2026 12:30
0100112 to
e5ae1fd
Compare
This normalizes search terms during indexing and query parsing. For example, "garciá" is indexed as "garcia". The normalization is implemented using a customer stemmer. I considered a proper English language stemmer. However, this resulted in a lot of noise.
This shows a link above the search results. Only after clicking the link the spelling correction is applied. For example, when searching for "mercosour": Did you mean [mercosur]
…the original query
This is different to mocking config directly in tests, because it runs before the other fixtures run.
Currently, this supports single-word synonyms only (e.g., corona -> covid)
tillprochaska
force-pushed
the
search-improvements
branch
from
July 15, 2026 14:02
e5ae1fd to
10c49b2
Compare
The regression is fixed by the Xapian update in b5efa87f
tillprochaska
force-pushed
the
search-improvements
branch
from
July 15, 2026 14:11
10c49b2 to
73ac821
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This implements multiple small search improvements:
term1:synonym1|term2:synonym2. This should be easy to output from Ansible.htv search keywords add 123456 "chat control"htv search keywords remove 123456 "chat control"htv search keywords list 123456Todos (tests):
Todos (post deployment):
HTV_SEARCH_SYNONYMSenv variable