Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
-
New
Description
Queries are a bit hard to consume because of their complicated workflow: your first need to rewrite before creating a weight. Maybe we could simplify it and make query rewriting part of creating the weight?
If a user would like to have access to the rewritten query, he could still call Query.createWeight(searcher, needsScores).getQuery() instead of Query.rewrite?