We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently Searchkit provides a "good default" query which does typo-tolerance, phrase matching and multi-match across the search fields provided.
Developers who wish to customise the query can do via getQuery function.
getQuery
For developers who dont know Elasticsearch Query DSL and simply want to change the query, they struggle with knowing how to override the query.
Being able to tweak the Relevance Match query via configuration:
Example:
import { RelevanceMatch } from "searchkit" const results = await client.handleRequest(req.body, { getQuery: RelevanceMatch({ TypoTolerance: false, phaseSupport: false }) });
This makes it easier to adjust the query to users need.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The problem
Currently Searchkit provides a "good default" query which does typo-tolerance, phrase matching and multi-match across the search fields provided.
Developers who wish to customise the query can do via
getQuery
function.For developers who dont know Elasticsearch Query DSL and simply want to change the query, they struggle with knowing how to override the query.
Feature Request
Being able to tweak the Relevance Match query via configuration:
Example:
This makes it easier to adjust the query to users need.
The text was updated successfully, but these errors were encountered: