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

Smarter approach to query processing #31

Open
searchivarius opened this issue May 26, 2023 · 0 comments
Open

Smarter approach to query processing #31

searchivarius opened this issue May 26, 2023 · 0 comments

Comments

@searchivarius
Copy link
Member

Currently we expect only white-space tokenized queries. However they can accidentally contain special symbols and operators in Lucene. These can be potentially indexed sometimes. We filter them out during querying, but a smarter approach would consist in formulating the query directly using the BooleanQuery and TermQuery: https://www.tutorialspoint.com/lucene/lucene_booleanquery.htm

If we every support Lucene analyzers, however, respective queries may also contain Lucene operators. How are we going to deal with it? Perhaps, we need to see how it's done in the Elastic Search.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant