Метод | Описание | |
---|---|---|
AnalyzingQueryParser ( LuceneVersion matchVersion, string field, |
Метод | Описание | |
---|---|---|
AnalyzeSingleChunk ( string field, string termStr, string chunk ) : string |
Returns the analyzed form for the given chunk. If the analyzer produces more than one output token from the given chunk, a ParseException is thrown.
|
|
GetFuzzyQuery ( string field, string termStr, float minSimilarity ) : |
Called when parser parses an input term that has the fuzzy suffix (~) appended.
|
|
GetPrefixQuery ( string field, string termStr ) : |
Called when parser parses an input term that uses prefix notation; that is, contains a single '*' wildcard character as its last character. Since this is a special case of generic wildcard term, and such a query can be optimized easily, this usually results in a different query object.
|
|
GetWildcardQuery ( string field, string termStr ) : |
Called when parser parses an input term that uses prefix notation; that is, contains a single '*' wildcard character as its last character. Since this is a special case of generic wildcard term, and such a query can be optimized easily, this usually results in a different query object.
|
protected AnalyzeSingleChunk ( string field, string termStr, string chunk ) : string | ||
field | string | The target field |
termStr | string | The full term from which the given chunk is excerpted |
chunk | string | The portion of the given termStr to be analyzed |
Результат | string |
public AnalyzingQueryParser ( LuceneVersion matchVersion, string field, |
||
matchVersion | LuceneVersion | |
field | string | |
analyzer | ||
Результат | Lucene.Net.Analysis |
protected GetFuzzyQuery ( string field, string termStr, float minSimilarity ) : |
||
field | string | Name of the field query will use. |
termStr | string | Term to use for building term for the query |
minSimilarity | float | |
Результат |
protected GetPrefixQuery ( string field, string termStr ) : |
||
field | string | Name of the field query will use. |
termStr | string | Term to use for building term for the query (without trailing '*' character!) |
Результат |
protected GetWildcardQuery ( string field, string termStr ) : |
||
field | string | Name of the field query will use. |
termStr | string | Term to use for building term for the query /// (without trailing '*' character!) |
Результат |