Property | Type | Description | |
---|---|---|---|
disableCoord | bool | ||
highFreqBoost | float | ||
highFreqOccur | Lucene.Net.Search.BooleanClause.Occur | ||
lowFreqBoost | float | ||
lowFreqOccur | Lucene.Net.Search.BooleanClause.Occur | ||
maxTermFrequency | float | ||
terms | IList |
Method | Description | |
---|---|---|
Add ( Lucene.Net.Index.Term term ) : void |
Adds a term to the CommonTermsQuery
|
|
CollectTermContext ( |
||
CommonTermsQuery ( |
Creates a new CommonTermsQuery
|
|
CommonTermsQuery ( |
Creates a new CommonTermsQuery
|
|
Equals ( object obj ) : bool | ||
ExtractTerms ( ISet |
||
GetHashCode ( ) : int | ||
Rewrite ( |
||
ToString ( string field ) : string |
Method | Description | |
---|---|---|
BuildQuery ( int maxDoc, |
||
CalcHighFreqMinimumNumberShouldMatch ( int numOptional ) : int | ||
CalcLowFreqMinimumNumberShouldMatch ( int numOptional ) : int | ||
NewTermQuery ( Lucene.Net.Index.Term term, |
Builds a new TermQuery instance. This is intended for subclasses that wish to customize the generated queries.
|
Method | Description | |
---|---|---|
MinNrShouldMatch ( float minNrShouldMatch, int numOptional ) : int |
public Add ( Lucene.Net.Index.Term term ) : void | ||
term | Lucene.Net.Index.Term | /// the term to add |
return | void |
protected BuildQuery ( int maxDoc, |
||
maxDoc | int | |
contextArray | ||
queryTerms | Lucene.Net.Index.Term | |
return |
protected CalcHighFreqMinimumNumberShouldMatch ( int numOptional ) : int | ||
numOptional | int | |
return | int |
protected CalcLowFreqMinimumNumberShouldMatch ( int numOptional ) : int | ||
numOptional | int | |
return | int |
public CollectTermContext ( |
||
reader | ||
leaves | IList |
|
contextArray | ||
queryTerms | Lucene.Net.Index.Term | |
return | void |
public CommonTermsQuery ( |
||
highFreqOccur |
/// |
|
lowFreqOccur |
/// |
|
maxTermFrequency | float | /// a value in [0..1) (or absolute number >=1) representing the /// maximum threshold of a terms document frequency to be considered a /// low frequency term. |
return | System |
public CommonTermsQuery ( |
||
highFreqOccur |
/// |
|
lowFreqOccur |
/// |
|
maxTermFrequency | float | /// a value in [0..1) (or absolute number >=1) representing the /// maximum threshold of a terms document frequency to be considered a /// low frequency term. |
disableCoord | bool |
/// disables |
return | System |
protected NewTermQuery ( Lucene.Net.Index.Term term, |
||
term | Lucene.Net.Index.Term | term |
context | the TermContext to be used to create the low level term query. Can be null . |
|
return |
public Rewrite ( |
||
reader | ||
return |
protected BooleanClause.Occur,Lucene.Net.Search highFreqOccur | ||
return | Lucene.Net.Search.BooleanClause.Occur |
protected BooleanClause.Occur,Lucene.Net.Search lowFreqOccur | ||
return | Lucene.Net.Search.BooleanClause.Occur |