Свойство | Type | Description | |
---|---|---|---|
disableCoord | bool | ||
highFreqBoost | float | ||
highFreqOccur | Lucene.Net.Search.BooleanClause.Occur | ||
lowFreqBoost | float | ||
lowFreqOccur | Lucene.Net.Search.BooleanClause.Occur | ||
maxTermFrequency | float | ||
terms | IList |
Méthode | 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 |
Méthode | 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.
|
Méthode | Description | |
---|---|---|
MinNrShouldMatch ( float minNrShouldMatch, int numOptional ) : int |
public Add ( Lucene.Net.Index.Term term ) : void | ||
term | Lucene.Net.Index.Term | /// the term to add |
Résultat | void |
protected BuildQuery ( int maxDoc, |
||
maxDoc | int | |
contextArray | ||
queryTerms | Lucene.Net.Index.Term | |
Résultat |
protected CalcHighFreqMinimumNumberShouldMatch ( int numOptional ) : int | ||
numOptional | int | |
Résultat | int |
protected CalcLowFreqMinimumNumberShouldMatch ( int numOptional ) : int | ||
numOptional | int | |
Résultat | int |
public CollectTermContext ( |
||
reader | ||
leaves | IList |
|
contextArray | ||
queryTerms | Lucene.Net.Index.Term | |
Résultat | 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. |
Résultat | 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 |
Résultat | 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 . |
|
Résultat |
public Rewrite ( |
||
reader | ||
Résultat |
protected BooleanClause.Occur,Lucene.Net.Search highFreqOccur | ||
Résultat | Lucene.Net.Search.BooleanClause.Occur |
protected BooleanClause.Occur,Lucene.Net.Search lowFreqOccur | ||
Résultat | Lucene.Net.Search.BooleanClause.Occur |