You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2015/02/25 18:08:04 UTC
[jira] [Created] (LUCENE-6295) Remove Query.rewrite?
Adrien Grand created LUCENE-6295:
------------------------------------
Summary: Remove Query.rewrite?
Key: LUCENE-6295
URL: https://issues.apache.org/jira/browse/LUCENE-6295
Project: Lucene - Core
Issue Type: Improvement
Reporter: Adrien Grand
Assignee: Adrien Grand
Priority: Minor
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?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org