Method CreateTerm
CreateTerm(String)
Optimized construction of new Terms by reusing same field as this Term
- avoids field.intern() overhead
Declaration
public Term CreateTerm(String text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text of the new term (field is implicitly same as this Term instance) |
Returns
Type | Description |
---|---|
Term | A new Term |