Package | Description |
---|---|
org.apache.lucene.index |
Misc index tools and index support.
|
org.apache.lucene.sandbox.queries |
Additional queries (some may have caveats or limitations)
|
org.apache.lucene.sandbox.queries.regex |
Regular expression Query.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.spell |
Suggest alternate spellings for words.
|
org.apache.lucene.search.suggest |
Support for Autocomplete/Autosuggest
|
org.apache.lucene.search.suggest.fst |
Finite-state based autosuggest.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class and Description |
---|---|
static class |
FilterAtomicReader.FilterTermsEnum
Base class for filtering
TermsEnum implementations. |
class |
FilteredTermsEnum
Abstract class for enumerating a subset of all terms.
|
class |
MultiTermsEnum
|
class |
SingleTermsEnum
Subclass of FilteredTermsEnum for enumerating a single term.
|
class |
TermsEnum
Iterator to seek (
TermsEnum.seekCeil(BytesRef) , TermsEnum.seekExact(BytesRef) ) or step through (next() terms to obtain frequency information (TermsEnum.docFreq() ), DocsEnum or DocsAndPositionsEnum for the current term (TermsEnum.docs(org.apache.lucene.util.Bits, org.apache.lucene.index.DocsEnum) . |
Modifier and Type | Class and Description |
---|---|
class |
SlowCollatedTermRangeTermsEnum
Deprecated.
Index collation keys with CollationKeyAnalyzer or ICUCollationKeyAnalyzer instead.
This class will be removed in Lucene 5.0
|
class |
SlowFuzzyTermsEnum
Deprecated.
Use
FuzzyTermsEnum instead. |
Modifier and Type | Class and Description |
---|---|
class |
RegexTermsEnum
Subclass of FilteredTermEnum for enumerating all terms that match the
specified regular expression term using the specified regular expression
implementation.
|
Modifier and Type | Class and Description |
---|---|
class |
FuzzyTermsEnum
Subclass of TermsEnum for enumerating all terms that are similar
to the specified filter term.
|
class |
PrefixTermsEnum
Subclass of FilteredTermEnum for enumerating all terms that match the
specified prefix filter term.
|
class |
TermRangeTermsEnum
Subclass of FilteredTermEnum for enumerating all terms that match the
specified range parameters.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TermFreqIterator
Interface for enumerating term,weight pairs.
|
Modifier and Type | Class and Description |
---|---|
static class |
TermFreqIterator.TermFreqIteratorWrapper
Wraps a BytesRefIterator as a TermFreqIterator, with all weights
set to
1 |
Constructor and Description |
---|
TermFreqIterator.TermFreqIteratorWrapper(BytesRefIterator wrapped)
Creates a new wrapper, wrapping the specified iterator and
specifying a weight value of
1 for all terms. |
Modifier and Type | Interface and Description |
---|---|
interface |
InputIterator
Interface for enumerating term,weight,payload triples for suggester consumption;
currently only
AnalyzingSuggester , FuzzySuggester and AnalyzingInfixSuggester support payloads. |
Modifier and Type | Class and Description |
---|---|
class |
BufferedInputIterator
This wrapper buffers incoming elements.
|
class |
BufferingTermFreqIteratorWrapper
This wrapper buffers incoming elements.
|
protected class |
DocumentDictionary.DocumentInputIterator
Implements
InputIterator from stored fields. |
static class |
InputIterator.InputIteratorWrapper
Wraps a BytesRefIterator as a suggester InputIterator, with all weights
set to
1 and carries no payload |
class |
SortedInputIterator
This wrapper buffers incoming elements and makes sure they are sorted based on given comparator.
|
class |
SortedTermFreqIteratorWrapper
This wrapper buffers incoming elements and makes sure they are sorted based on given comparator.
|
class |
UnsortedInputIterator
This wrapper buffers the incoming elements and makes sure they are in
random order.
|
Modifier and Type | Method and Description |
---|---|
BytesRefIterator |
InMemorySorter.iterator() |
Constructor and Description |
---|
InputIterator.InputIteratorWrapper(BytesRefIterator wrapped)
Creates a new wrapper, wrapping the specified iterator and
specifying a weight value of
1 for all terms
and nullifies associated payloads. |
Modifier and Type | Method and Description |
---|---|
BytesRefIterator |
BytesRefSorter.iterator()
Sorts the entries added in
BytesRefSorter.add(BytesRef) and returns
an iterator over all sorted entries. |
BytesRefIterator |
ExternalRefSorter.iterator() |
Modifier and Type | Field and Description |
---|---|
static BytesRefIterator |
BytesRefIterator.EMPTY
Singleton BytesRefIterator that iterates over 0 BytesRefs.
|
Modifier and Type | Method and Description |
---|---|
BytesRefIterator |
BytesRefArray.iterator()
sugar for
BytesRefArray.iterator(Comparator) with a null comparator |
BytesRefIterator |
BytesRefArray.iterator(Comparator<BytesRef> comp)
Returns a
BytesRefIterator with point in time semantics. |
Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.