Rewrite() public abstract method

public abstract Rewrite ( Lucene.Net.Index.IndexReader reader, MultiTermQuery query ) : Query
reader Lucene.Net.Index.IndexReader
query MultiTermQuery
return Query
 public override Query Rewrite(IndexReader reader)
 {
     return(internalRewriteMethod.Rewrite(reader, this));
 }
Esempio n. 2
0
 /// <summary>
 /// To rewrite to a simpler form, instead return a simpler
 /// enum from <see cref="GetTermsEnum(Terms, AttributeSource)"/>.  For example,
 /// to rewrite to a single term, return a <see cref="Index.SingleTermsEnum"/>.
 /// </summary>
 public override sealed Query Rewrite(IndexReader reader)
 {
     return(m_rewriteMethod.Rewrite(reader, this));
 }
Esempio n. 3
0
 public override Query Rewrite(IndexReader reader, IState state)
 {
     return(internalRewriteMethod.Rewrite(reader, this, state));
 }