| Package | Description |
|---|---|
| org.apache.lucene.analysis |
API and code to convert text into indexable/searchable tokens.
|
| org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
| Modifier and Type | Method and Description |
|---|---|
int |
PerFieldAnalyzerWrapper.getOffsetGap(Fieldable field)
Return the offsetGap from the analyzer assigned to field
|
int |
Analyzer.getOffsetGap(Fieldable field)
Just like
Analyzer.getPositionIncrementGap(java.lang.String), except for
Token offsets instead. |
int |
LimitTokenCountAnalyzer.getOffsetGap(Fieldable field) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractField
Base class for Field implementations
|
class |
Field
A field is a section of a Document.
|
class |
NumericField
This class provides a
Field that enables indexing
of numeric values for efficient range filtering and
sorting. |
| Modifier and Type | Method and Description |
|---|---|
Fieldable |
Document.getFieldable(String name)
Returns a field with the given name if any exist in this document, or
null.
|
Fieldable[] |
Document.getFieldables(String name)
Returns an array of
Fieldables with the given name. |
| Modifier and Type | Method and Description |
|---|---|
List<Fieldable> |
Document.getFields()
Returns a List of all the fields in a document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Document.add(Fieldable field)
Adds a field to a document.
|