Class DistanceQuery
Inheritance
DistanceQuery
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class DistanceQuery : ComposedQuery, IDistanceSubQuery
Constructors
DistanceQuery(IList<SrndQuery>, bool, int, string, bool)
Declaration
public DistanceQuery(IList<SrndQuery> queries, bool infix, int opDistance, string opName, bool ordered)
Parameters
Properties
OpDistance
Declaration
public virtual int OpDistance { get; }
Property Value
QueriesOrdered
Declaration
public virtual bool QueriesOrdered { get; }
Property Value
Methods
AddSpanQueries(SpanNearClauseFactory)
Declaration
public virtual void AddSpanQueries(SpanNearClauseFactory sncf)
Parameters
DistanceSubQueryNotAllowed()
Declaration
public virtual string DistanceSubQueryNotAllowed()
Returns
GetSpanNearQuery(IndexReader, string, float, BasicQueryFactory)
Declaration
public virtual Query GetSpanNearQuery(IndexReader reader, string fieldName, float boost, BasicQueryFactory qf)
Parameters
Returns
MakeLuceneQueryFieldNoBoost(string, BasicQueryFactory)
Declaration
public override Query MakeLuceneQueryFieldNoBoost(string fieldName, BasicQueryFactory qf)
Parameters
Returns
Overrides
Implements