Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs for testing (simulate old disk formats, wacky theoretical use cases, etc)
|
org.apache.lucene.codecs.appending |
Codec for on append-only outputs, such as plain output streams and append-only filesystems.
|
org.apache.lucene.codecs.blockterms |
Pluggable term index / block terms dictionary implementations.
|
org.apache.lucene.codecs.blocktree |
BlockTree terms dictionary.
|
org.apache.lucene.codecs.blocktreeords |
Same postings format as Lucene41, except the terms dictionary also
supports ords, i.e.
|
org.apache.lucene.codecs.bloom |
Support for generating test indexes using the BloomFilteringPostingsFormat
|
org.apache.lucene.codecs.compressing |
Support for testing
CompressingStoredFieldsFormat . |
org.apache.lucene.codecs.idversion |
A primary-key postings format that associates a version (long) with each term and
can provide fail-fast lookups by ID and version.
|
org.apache.lucene.codecs.lucene40 |
Support for testing
Lucene40PostingsFormat . |
org.apache.lucene.codecs.lucene41 |
Support for testing
Lucene41Codec . |
org.apache.lucene.codecs.memory |
Term dictionary, DocValues or Postings formats that are read entirely into memory.
|
org.apache.lucene.codecs.pulsing |
Pulsing Codec: inlines low frequency terms' postings into terms dictionary.
|
org.apache.lucene.codecs.sep |
Sep: base support for separate files (doc,frq,pos,skp,pyl)
|
org.apache.lucene.codecs.simpletext |
Simpletext Codec: writes human readable postings.
|
org.apache.lucene.facet.taxonomy |
Taxonomy of Categories
|
org.apache.lucene.index |
Misc index tools and index support.
|
org.apache.lucene.search |
This package contains a single proximity query, TermAutomatonQuery.
|
org.apache.lucene.search.join |
This modules support index-time and query-time joins.
|
org.apache.lucene.search.suggest |
Support for Autocomplete/Autosuggest
|
org.apache.lucene.search.suggest.analyzing |
Analyzer based autosuggest.
|
org.apache.lucene.search.suggest.fst |
Finite-state based autosuggest.
|
org.apache.lucene.search.suggest.jaspell |
JaSpell-based autosuggest.
|
org.apache.lucene.search.suggest.tst |
Ternary Search Tree based autosuggest.
|
org.apache.lucene.store |
Misc Directory implementations.
|
org.apache.lucene.util |
General test support.
|
org.apache.lucene.util.fst |
Misc FST classes.
|
org.apache.lucene.util.packed |
Packed integer arrays and streams.
|
Modifier and Type | Class and Description |
---|---|
class |
DocValuesProducer
Abstract API that produces numeric, binary and
sorted docvalues.
|
class |
FieldsProducer
Abstract API that produces terms, doc, freq, prox, offset and
payloads postings.
|
class |
PostingsReaderBase
The core terms dictionaries (BlockTermsReader,
BlockTreeTermsReader) interact with a single instance
of this class to manage creation of
DocsEnum and
DocsAndPositionsEnum instances. |
class |
StoredFieldsReader
Codec API for reading stored fields.
|
class |
TermVectorsReader
Codec API for reading term vectors:
|
Modifier and Type | Class and Description |
---|---|
class |
AppendingTermsReader
Deprecated.
Only for reading old Appending segments
|
Modifier and Type | Class and Description |
---|---|
class |
BlockTermsReader
Handles a terms dict, but decouples all details of
doc/freqs/positions reading to an instance of
PostingsReaderBase . |
class |
FixedGapTermsIndexReader
TermsIndexReader for simple every Nth terms indexes.
|
class |
TermsIndexReaderBase
BlockTermsReader interacts with an instance of this class
to manage its terms index. |
class |
VariableGapTermsIndexReader
|
Modifier and Type | Class and Description |
---|---|
class |
BlockTreeTermsReader
A block-based terms index and dictionary that assigns
terms to variable length blocks according to how they
share prefixes.
|
class |
FieldReader
BlockTree's implementation of
Terms . |
Modifier and Type | Class and Description |
---|---|
class |
OrdsBlockTreeTermsReader
|
Modifier and Type | Class and Description |
---|---|
class |
FuzzySet
A class used to represent a set of many, potentially large, values (e.g.
|
Modifier and Type | Class and Description |
---|---|
class |
CompressingStoredFieldsIndexReader
Random-access reader for
CompressingStoredFieldsIndexWriter . |
class |
CompressingStoredFieldsReader
|
class |
CompressingTermVectorsReader
|
Modifier and Type | Class and Description |
---|---|
class |
VersionBlockTreeTermsReader
|
Modifier and Type | Class and Description |
---|---|
class |
Lucene40PostingsReader
Deprecated.
Only for reading old 4.0 segments
|
class |
Lucene40StoredFieldsReader
Class responsible for access to stored document fields.
|
class |
Lucene40TermVectorsReader
Lucene 4.0 Term Vectors reader.
|
Modifier and Type | Class and Description |
---|---|
class |
Lucene41PostingsReader
Concrete class that reads docId(maybe frq,pos,offset,payloads) list
with postings format.
|
Modifier and Type | Class and Description |
---|---|
class |
FSTOrdTermsReader
FST-based terms dictionary reader.
|
class |
FSTTermsReader
FST-based terms dictionary reader.
|
Modifier and Type | Class and Description |
---|---|
class |
PulsingPostingsReader
Concrete class that reads the current doc/freq/skip
postings format
|
Modifier and Type | Class and Description |
---|---|
class |
SepPostingsReader
Concrete class that reads the current doc/freq/skip
postings format.
|
Modifier and Type | Class and Description |
---|---|
static class |
SimpleTextNormsFormat.SimpleTextNormsProducer
Reads plain-text norms.
|
class |
SimpleTextStoredFieldsReader
reads plaintext stored fields
|
class |
SimpleTextTermVectorsReader
Reads plain-text term vectors.
|
Modifier and Type | Class and Description |
---|---|
class |
CachedOrdinalsReader
A per-segment cache of documents' facet ordinals.
|
static class |
CachedOrdinalsReader.CachedOrds
Holds the cached ordinals in two parallel
int[] arrays. |
Modifier and Type | Class and Description |
---|---|
class |
DocTermOrds
This class enables fast access to multiple term ords for
a specified field across all docIDs.
|
class |
IndexWriter
An
IndexWriter creates and maintains an index. |
static class |
MultiDocValues.OrdinalMap
maps per-segment ordinals to/from global ordinal space
|
class |
SegmentReader
IndexReader implementation over a single segment.
|
Modifier and Type | Class and Description |
---|---|
class |
BitsFilteredDocIdSet
This implementation supplies a filtered DocIdSet, that excludes all
docids which are not in a Bits instance.
|
class |
CachingWrapperFilter
Wraps another
Filter 's result and caches it. |
class |
DocIdSet
A DocIdSet contains a set of doc ids.
|
static class |
FieldCache.CreationPlaceholder
Placeholder indicating creation of this cache is currently in-progress.
|
class |
FieldCacheDocIdSet
Base class for DocIdSet to be used with FieldCache.
|
class |
FilteredDocIdSet
Abstract decorator class for a DocIdSet implementation
that provides on-demand filtering/validation
mechanism on a given DocIdSet.
|
Constructor and Description |
---|
CacheEntry(Object readerKey,
String fieldName,
Class<?> cacheType,
Object custom,
Accountable value) |
Modifier and Type | Class and Description |
---|---|
class |
FixedBitSetCachingWrapperFilter
A
CachingWrapperFilter that caches sets using a FixedBitSet ,
as required for joins. |
Modifier and Type | Class and Description |
---|---|
class |
Lookup
Simple Lookup interface for
CharSequence suggestions. |
Modifier and Type | Class and Description |
---|---|
class |
AnalyzingInfixSuggester
Analyzes the input text and then suggests matches based
on prefix matches to any tokens in the indexed text.
|
class |
AnalyzingSuggester
Suggester that first analyzes the surface form, adds the
analyzed form to a weighted FST, and then does the same
thing at lookup time.
|
class |
BlendedInfixSuggester
Extension of the AnalyzingInfixSuggester which transforms the weight
after search to take into account the position of the searched term into
the indexed text.
|
class |
FreeTextSuggester
Builds an ngram model from the text sent to
FreeTextSuggester.build(org.apache.lucene.search.suggest.InputIterator) and predicts based on the last grams-1 tokens in
the request sent to FreeTextSuggester.lookup(java.lang.CharSequence, boolean, int) . |
class |
FuzzySuggester
Implements a fuzzy
AnalyzingSuggester . |
Modifier and Type | Class and Description |
---|---|
class |
FSTCompletionLookup
An adapter from
Lookup API to FSTCompletion . |
class |
WFSTCompletionLookup
Suggester based on a weighted FST: it first traverses the prefix,
then walks the n shortest paths to retrieve top-ranked
suggestions.
|
Modifier and Type | Class and Description |
---|---|
class |
JaspellLookup
Deprecated.
Migrate to one of the newer suggesters which are much more RAM efficient.
|
class |
JaspellTernarySearchTrie
Deprecated.
Migrate to one of the newer suggesters which are much more RAM efficient.
|
protected class |
JaspellTernarySearchTrie.TSTNode
Deprecated.
An inner class of Ternary Search Trie that represents a node in the trie.
|
Modifier and Type | Class and Description |
---|---|
class |
TSTLookup
Suggest implementation based on a
Ternary Search Tree
|
Modifier and Type | Class and Description |
---|---|
class |
NRTCachingDirectory
Wraps a
RAMDirectory
around any provided delegate directory, to
be used during NRT search. |
class |
RAMDirectory
A memory-resident
Directory implementation. |
class |
RAMFile
Represents a file in RAM as a list of byte[] buffers.
|
class |
RAMOutputStream
A memory-resident
IndexOutput implementation. |
Modifier and Type | Class and Description |
---|---|
class |
DocIdBitSet
Simple DocIdSet and DocIdSetIterator backed by a BitSet
|
class |
FixedBitSet
BitSet of fixed length (numBits), backed by accessible (
FixedBitSet.getBits() )
long[], accessed with an int index, implementing Bits and
DocIdSet . |
class |
OpenBitSet
An "open" BitSet implementation that allows direct access to the array of words
storing the bits.
|
class |
OpenBitSetDISI
OpenBitSet with added methods to bulk-update the bits
from a
DocIdSetIterator . |
class |
PagedBytes
Represents a logical byte[] as a series of pages.
|
static class |
PagedBytes.Reader
Provides methods to read BytesRefs from a frozen
PagedBytes.
|
class |
PForDeltaDocIdSet
DocIdSet implementation based on pfor-delta encoding. |
class |
WAH8DocIdSet
DocIdSet implementation based on word-aligned hybrid encoding on
words of 8 bits. |
Modifier and Type | Method and Description |
---|---|
static long |
RamUsageEstimator.sizeOf(Accountable[] accountables)
Return the size of the provided array of
Accountable s by summing
up the shallow size of the array and the
memory usage reported by each
Accountable . |
Modifier and Type | Class and Description |
---|---|
class |
FST<T>
Represents an finite state machine (FST), using a
compact byte[] format.
|
Modifier and Type | Class and Description |
---|---|
class |
BlockPackedReader
Provides random access to a stream written with
BlockPackedWriter . |
class |
EliasFanoDocIdSet
A DocIdSet in Elias-Fano encoding.
|
class |
EliasFanoEncoder
Encode a non decreasing sequence of non negative whole numbers in the Elias-Fano encoding
that was introduced in the 1970's by Peter Elias and Robert Fano.
|
class |
GrowableWriter
Implements
PackedInts.Mutable , but grows the
bit count of the underlying packed ints on-demand. |
class |
MonotonicBlockPackedReader
Provides random access to a stream written with
MonotonicBlockPackedWriter . |
static class |
PackedInts.Mutable
A packed integer array that can be modified.
|
static class |
PackedInts.NullReader
A
PackedInts.Reader which has all its values equal to 0 (bitsPerValue = 0). |
static class |
PackedInts.Reader
A read-only random access array of positive integers.
|
class |
PackedLongValues
Utility class to compress integers into a
LongValues instance. |
static class |
PackedLongValues.Builder
A Builder for a
PackedLongValues instance. |
Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.