Class OrQuery
Factory for disjunctions
Implements
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.QueryParsers.Surround.Query
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class OrQuery : ComposedQuery, IDistanceSubQuery
Constructors
| Improve this Doc View SourceOrQuery(IList<SrndQuery>, Boolean, String)
Declaration
public OrQuery(IList<SrndQuery> queries, bool infix, string opName)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<SrndQuery> | queries | |
System.Boolean | infix | |
System.String | opName |
Methods
| Improve this Doc View SourceAddSpanQueries(SpanNearClauseFactory)
Declaration
public virtual void AddSpanQueries(SpanNearClauseFactory sncf)
Parameters
Type | Name | Description |
---|---|---|
SpanNearClauseFactory | sncf |
DistanceSubQueryNotAllowed()
Declaration
public virtual string DistanceSubQueryNotAllowed()
Returns
Type | Description |
---|---|
System.String |
MakeLuceneQueryFieldNoBoost(String, BasicQueryFactory)
Declaration
public override Query MakeLuceneQueryFieldNoBoost(string fieldName, BasicQueryFactory qf)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | |
BasicQueryFactory | qf |
Returns
Type | Description |
---|---|
Lucene.Net.Search.Query |