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

Expose options for lenient query parsing + conjunction/disjunction handling #1112

Open
neilyio opened this issue May 7, 2024 · 0 comments
Open
Labels
feature New feature or request pg_search Issue related to `pg_search/` priority-3-low Low priority issue

Comments

@neilyio
Copy link
Contributor

neilyio commented May 7, 2024

What
Tantivy allows some configuration around how queries are parsed, we should make these options available to users:
https://docs.rs/tantivy/latest/tantivy/query/struct.QueryParser.html#method.parse_query_lenient
https://docs.rs/tantivy/latest/tantivy/query/struct.QueryParser.html#method.set_conjunction_by_default

Why
Users want more control over how their queries are parsed, we might as well expose what Tantivy makes available.

How
This should probably be added as an option on the search method.

@philippemnoel philippemnoel added feature New feature or request priority-3-low Low priority issue pg_search Issue related to `pg_search/` labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request pg_search Issue related to `pg_search/` priority-3-low Low priority issue
Projects
None yet
Development

No branches or pull requests

2 participants