Skip to content

Fix search matching flooding results with unrelated documents#347

Merged
svera merged 2 commits into
developfrom
search-stopwords-fix
Jul 7, 2026
Merged

Fix search matching flooding results with unrelated documents#347
svera merged 2 commits into
developfrom
search-stopwords-fix

Conversation

@svera

@svera svera commented Jul 7, 2026

Copy link
Copy Markdown
Owner

The author/title cross-field fallback query used defaultAnalyzer (no stop-word filtering) for its OR-matching, so common connector words like Spanish "de", "el" or "los" acted as strong match anchors, matching almost any document whose author name or title contained them. Filter those words out using the library's active language analyzers before building the fallback query.

svera added 2 commits July 7, 2026 12:54
The author/title cross-field fallback query used defaultAnalyzer (no
stop-word filtering) for its OR-matching, so common connector words
like Spanish "de", "el" or "los" acted as strong match anchors,
matching almost any document whose author name or title contained
them. Filter those words out using the library's active language
analyzers before building the fallback query.
@svera svera merged commit 250958e into develop Jul 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant