Expose options for lenient query parsing + conjunction/disjunction handling #1112
Labels
feature
New feature or request
pg_search
Issue related to `pg_search/`
priority-3-low
Low priority issue
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.The text was updated successfully, but these errors were encountered: