Creates a TokenStream that is allowed to be re-used from the previous time that the same thread called this method. Callers that do not need to use more than one TokenStream at the same time from this analyzer should use this method for better performance.

Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual TokenStream ReusableTokenStream(
	string fieldName,
	TextReader reader
)
Visual Basic
Public Overridable Function ReusableTokenStream ( _
	fieldName As String, _
	reader As TextReader _
) As TokenStream
Visual C++
public:
virtual TokenStream^ ReusableTokenStream(
	String^ fieldName, 
	TextReader^ reader
)

Parameters

fieldName
Type: System..::..String

[Missing <param name="fieldName"/> documentation for "M:Lucene.Net.Analysis.Analyzer.ReusableTokenStream(System.String,System.IO.TextReader)"]

reader
Type: System.IO..::..TextReader

[Missing <param name="reader"/> documentation for "M:Lucene.Net.Analysis.Analyzer.ReusableTokenStream(System.String,System.IO.TextReader)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Analysis.Analyzer.ReusableTokenStream(System.String,System.IO.TextReader)"]

See Also