Constructor CommonTermsQuery
CommonTermsQuery(Occur, Occur, Single)
Creates a new CommonTermsQuery
Declaration
public CommonTermsQuery(Occur highFreqOccur, Occur lowFreqOccur, float maxTermFrequency)
Parameters
Type | Name | Description |
---|---|---|
Occur | highFreqOccur | Occur used for high frequency terms |
Occur | lowFreqOccur | Occur used for low frequency terms |
System.Single | maxTermFrequency | 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. |
CommonTermsQuery(Occur, Occur, Single, Boolean)
Creates a new CommonTermsQuery
Declaration
public CommonTermsQuery(Occur highFreqOccur, Occur lowFreqOccur, float maxTermFrequency, bool disableCoord)
Parameters
Type | Name | Description |
---|---|---|
Occur | highFreqOccur | Occur used for high frequency terms |
Occur | lowFreqOccur | Occur used for low frequency terms |
System.Single | maxTermFrequency | 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. |
System.Boolean | disableCoord | disables |