Class BasicQueryFactory
Factory for creating basic term queries
Inheritance
System.Object
BasicQueryFactory
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 BasicQueryFactory
Constructors
| Improve this Doc View SourceBasicQueryFactory()
Declaration
public BasicQueryFactory()
BasicQueryFactory(Int32)
Declaration
public BasicQueryFactory(int maxBasicQueries)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maxBasicQueries |
Properties
| Improve this Doc View SourceMaxBasicQueries
Declaration
public virtual int MaxBasicQueries { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
NrQueriesMade
Declaration
public virtual int NrQueriesMade { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceCheckMax()
Declaration
protected virtual void CheckMax()
Equals(Object)
Two BasicQueryFactory's are equal when they generate the same types of basic queries, or both cannot generate queries anymore.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
NewSpanTermQuery(Term)
Declaration
public virtual SpanTermQuery NewSpanTermQuery(Term term)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Index.Term | term |
Returns
Type | Description |
---|---|
Lucene.Net.Search.Spans.SpanTermQuery |
NewTermQuery(Term)
Declaration
public virtual TermQuery NewTermQuery(Term term)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Index.Term | term |
Returns
Type | Description |
---|---|
Lucene.Net.Search.TermQuery |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()