Lucene.Net 1.9.1 Class Library

Analyzer.TokenStream Method (String, TextReader)

Creates a TokenStream which tokenizes all the text in the provided Reader. Default implementation forwards to tokenStream(Reader) for compatibility with older version. Override to allow Analyzer to choose strategy based on document and/or field. Must be able to handle null field name for backward compatibility.

public virtual TokenStream TokenStream(
   string fieldName,
   TextReader reader
);

See Also

Analyzer Class | Lucene.Net.Analysis Namespace | Analyzer.TokenStream Overload List