Optimized construction of new Terms by reusing same field as this Term
- avoids field.intern() overhead
Namespace: Lucene.Net.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
| C# |
|---|
public Term CreateTerm( string text ) |
| Visual Basic |
|---|
Public Function CreateTerm ( _ text As String _ ) As Term |
| Visual C++ |
|---|
public: Term^ CreateTerm( String^ text ) |
Parameters
- text
- Type: System..::..String
The text of the new term (field is implicitly same as this Term instance)