public TokenStream ( string fieldName, |
||
fieldName | string | the name of the field the created TokenStream is used for |
reader | ||
Résultat |
fieldName
, tokenizing the contents of text
. this method uses #createComponents(String, Reader) to obtain an instance of TokenStreamComponents. It returns the sink of the components and stores the components internally. Subsequent calls to this method will reuse the previously stored components after resetting them through TokenStreamComponents#setReader(Reader).
NOTE: After calling this method, the consumer must follow the workflow described in TokenStream to properly consume its contents. See the Lucene.Net.Analysis Analysis package documentation for some examples demonstrating this.
public TokenStream ( string fieldName, |
||
fieldName | string | the name of the field the created TokenStream is used for |
reader | ||
Résultat |