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 | Description |
---|---|---|
int |
Analyzer.getOffsetGap(Fieldable field) |
Just like
Analyzer.getPositionIncrementGap(java.lang.String) , except for
Token offsets instead. |
int |
LimitTokenCountAnalyzer.getOffsetGap(Fieldable field) |
|
int |
PerFieldAnalyzerWrapper.getOffsetGap(Fieldable field) |
Return the offsetGap from the analyzer assigned to field
|
Modifier and Type | Class | 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 | 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
Fieldable s with the given name. |
Modifier and Type | Method | Description |
---|---|---|
List<Fieldable> |
Document.getFields() |
Returns a List of all the fields in a document.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Document.add(Fieldable field) |
Adds a field to a document.
|
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.