Class DistanceQuery
Inheritance
System.Object
DistanceQuery
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class DistanceQuery : ComposedQuery, IDistanceSubQuery
Constructors
|
Improve this Doc
View Source
DistanceQuery(IList<SrndQuery>, Boolean, Int32, String, Boolean)
Declaration
public DistanceQuery(IList<SrndQuery> queries, bool infix, int opDistance, string opName, bool ordered)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<SrndQuery> |
queries |
|
System.Boolean |
infix |
|
System.Int32 |
opDistance |
|
System.String |
opName |
|
System.Boolean |
ordered |
|
Properties
|
Improve this Doc
View Source
OpDistance
Declaration
public virtual int OpDistance { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
QueriesOrdered
Declaration
public virtual bool QueriesOrdered { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
AddSpanQueries(SpanNearClauseFactory)
Declaration
public virtual void AddSpanQueries(SpanNearClauseFactory sncf)
Parameters
|
Improve this Doc
View Source
DistanceSubQueryNotAllowed()
Declaration
public virtual string DistanceSubQueryNotAllowed()
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetSpanNearQuery(IndexReader, String, Single, BasicQueryFactory)
Declaration
public virtual Query GetSpanNearQuery(IndexReader reader, string fieldName, float boost, BasicQueryFactory qf)
Parameters
Type |
Name |
Description |
Lucene.Net.Index.IndexReader |
reader |
|
System.String |
fieldName |
|
System.Single |
boost |
|
BasicQueryFactory |
qf |
|
Returns
Type |
Description |
Lucene.Net.Search.Query |
|
|
Improve this Doc
View Source
MakeLuceneQueryFieldNoBoost(String, BasicQueryFactory)
Declaration
public override Query MakeLuceneQueryFieldNoBoost(string fieldName, BasicQueryFactory qf)
Parameters
Returns
Type |
Description |
Lucene.Net.Search.Query |
|
Overrides
Implements