- <init>
Constructs a Term with the given field and the bytes from a builder.Note that a
null field value res
- text
Returns the text of this term. In the case of words, this is simply the text of
the word. In the cas
- field
Returns the field of this term, an interned string. The field indicates the part
of a document which
- bytes
Returns the bytes of this term, these should not be modified.
- equals
Compares two terms, returning true iff they have the same field and text.
- hashCode
Combines the hashCode() of the field and the text.
- toString
Returns human-readable form of the term text. If the term is not unicode, the
raw bytes will be prin
- compareTo
Compares two terms, returning an integer which is less than zero iff this term
belongs after the arg
- createTerm
Optimized construction of new Terms by reusing same field as this Term - avoids
field.intern() overh
- generate
- getCoeff
- getEntitiesList