Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

services: records: CompositeSuggestQueryParser: Optimize query building #608

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

sakshamarora1
Copy link
Contributor

# "most_fields" is just here to boost results where more fields match the
# It works in conjunction with having search_as_you_type fields but for custom
# edge-ngram-analyzed fields it is not needed because the expansions already
# exist in the index, so essentially, bool_prefix is doing the same work

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add a link to index setting which provides the expansion config?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added!

Copy link
Contributor

@jrcastro2 jrcastro2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Peer reviewed with @ntarocco

@sakshamarora1 sakshamarora1 changed the title services: records: CompositeSuggestQueryParser: Filter out stopwords services: records: CompositeSuggestQueryParser: Optimize query building Feb 21, 2025
@tmorrell tmorrell merged commit 49322b0 into inveniosoftware:master Feb 25, 2025
2 checks 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.

Error when searching affiliations: too_many_nested_clauses
4 participants