Method GetTokenStream
GetTokenStream(Analyzer)
Creates the TokenStream used for indexing this field. If appropriate, implementations should use the given Analyzer to create the TokenStreams.
Declaration
TokenStream GetTokenStream(Analyzer analyzer)
Parameters
Type | Name | Description |
---|---|---|
Analyzer | analyzer | Analyzer that should be used to create the TokenStreams from |
Returns
Type | Description |
---|---|
TokenStream | TokenStream value for indexing the document. Should always return a non-null value if the field is to be indexed |