Java org.apache.lucene.index Term fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.index Term fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.index Term.

The text is from its open source code.

Field

Stringfield
BytesRefbytes

Constructor

Term(String fld, BytesRef bytes)
Constructs a Term with the given field and bytes.
Term(String fld, BytesRefBuilder bytesBuilder)
Constructs a Term with the given field and the bytes from a builder.
Term(String fld, String text)
Constructs a Term with the given field and text.
Term(String fld)
Constructs a Term with the given field and empty text.

Method

intcompareTo(Term other)
Compares two terms, returning a negative integer if this term belongs before the argument, zero if this term is equal to the argument, and a positive integer if this term belongs after the argument.
booleanequals(Object obj)
inthashCode()
Stringtext()
Returns the text of this term.
StringtoString()
StringtoString(BytesRef termText)
Returns human-readable form of the term text.