DotLucene 1.4 API Documentation |

# 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