DotLucene 1.4 API Documentation |

# Analyzer.TokenStream Method

Creates a TokenStream which tokenizes all the text in the provided Reader. Provided for backward compatibility only.

#### Overload List

Creates a TokenStream which tokenizes all the text in the provided Reader. Provided for backward compatibility only.

> public virtual TokenStream TokenStream(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,TextReader);

#### See Also

Analyzer Class | Lucene.Net.Analysis Namespace | Reader)