mirror of https://github.com/apache/lucene.git
LUCENE-10477: mention 'call multiple times' in Query.rewrite javadoc (#758)
This commit is contained in:
parent
04127ed9fc
commit
779c332a8c
|
@ -73,6 +73,11 @@ public abstract class Query {
|
|||
/**
|
||||
* Expert: called to re-write queries into primitive queries. For example, a PrefixQuery will be
|
||||
* rewritten into a BooleanQuery that consists of TermQuerys.
|
||||
*
|
||||
* <p>Callers are expected to call <code>rewrite</code> multiple times if necessary, until the
|
||||
* rewritten query is the same as the original query.
|
||||
*
|
||||
* @see IndexSearcher#rewrite(Query)
|
||||
*/
|
||||
public Query rewrite(IndexReader reader) throws IOException {
|
||||
return this;
|
||||
|
|
Loading…
Reference in New Issue