Method | Description | |
---|---|---|
CreateComponents ( string fieldName, |
||
GetOffsetGap ( string fieldName ) : int |
Get the offset gap between tokens in fields if several fields with the same name were added.
|
|
GetPositionIncrementGap ( string fieldName ) : int | ||
MockAnalyzer ( |
Create a Whitespace-lowercasing analyzer with no stopwords removal. Calls {@link #MockAnalyzer(Random, CharacterRunAutomaton, boolean, CharacterRunAutomaton) MockAnalyzer(random, MockTokenizer.WHITESPACE, true, MockTokenFilter.EMPTY_STOPSET, false}).
|
|
MockAnalyzer ( |
Calls {@link #MockAnalyzer(Random, CharacterRunAutomaton, boolean, CharacterRunAutomaton) MockAnalyzer(random, runAutomaton, lowerCase, MockTokenFilter.EMPTY_STOPSET, false}).
|
|
MockAnalyzer ( |
Creates a new MockAnalyzer.
|
Method | Description | |
---|---|---|
MaybePayload ( Lucene.Net.Analysis.TokenFilter stream, string fieldName ) : Lucene.Net.Analysis.TokenFilter |
public CreateComponents ( string fieldName, |
||
fieldName | string | |
reader | ||
return | TokenStreamComponents |
public GetOffsetGap ( string fieldName ) : int | ||
fieldName | string | Currently not used, the same offset gap is returned for each field. |
return | int |
public GetPositionIncrementGap ( string fieldName ) : int | ||
fieldName | string | |
return | int |
public MockAnalyzer ( |
||
random | ||
return | System |
public MockAnalyzer ( |
||
random | ||
runAutomaton | CharacterRunAutomaton | |
lowerCase | bool | |
return | System |
public MockAnalyzer ( |
||
random | Random for payloads behavior | |
runAutomaton | CharacterRunAutomaton | DFA describing how tokenization should happen (e.g. [a-zA-Z]+) |
lowerCase | bool | true if the tokenizer should lowercase terms |
filter | CharacterRunAutomaton | DFA describing how terms should be filtered (set of stopwords, etc) |
return | System |