Package | Description |
---|---|
org.apache.lucene.analysis.util |
Utility functions for text analysis.
|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.asserting |
Codec for testing that asserts various contracts of the codec apis.
|
org.apache.lucene.codecs.lucene50 |
Components from the Lucene 5.0 index format
See
org.apache.lucene.codecs.lucene50 for an overview
of the index format. |
org.apache.lucene.codecs.simpletext |
Simpletext Codec: writes human readable postings.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.grouping |
Grouping.
|
org.apache.lucene.search.highlight |
Highlighting search terms.
|
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
org.apache.lucene.search.suggest |
Support for Autocomplete/Autosuggest
|
org.apache.lucene.search.suggest.document |
Support for document suggestion
|
org.apache.lucene.spatial.prefix |
Prefix Tree Strategy.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Field and Description |
---|---|
static Bits |
UnicodeProps.WHITESPACE
Bitset with Unicode WHITESPACE code points.
|
Modifier and Type | Method and Description |
---|---|
abstract Bits |
LiveDocsFormat.readLiveDocs(Directory dir,
SegmentCommitInfo info,
IOContext context)
Read live docs bits.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
LiveDocsFormat.writeLiveDocs(Bits bits,
Directory dir,
SegmentCommitInfo info,
int newDelCount,
IOContext context)
Persist live docs bits.
|
Modifier and Type | Method and Description |
---|---|
Bits |
AssertingLiveDocsFormat.readLiveDocs(Directory dir,
SegmentCommitInfo info,
IOContext context) |
Modifier and Type | Method and Description |
---|---|
void |
AssertingLiveDocsFormat.writeLiveDocs(Bits bits,
Directory dir,
SegmentCommitInfo info,
int newDelCount,
IOContext context) |
Modifier and Type | Method and Description |
---|---|
Bits |
Lucene50LiveDocsFormat.readLiveDocs(Directory dir,
SegmentCommitInfo info,
IOContext context) |
Modifier and Type | Method and Description |
---|---|
void |
Lucene50LiveDocsFormat.writeLiveDocs(Bits bits,
Directory dir,
SegmentCommitInfo info,
int newDelCount,
IOContext context) |
Modifier and Type | Method and Description |
---|---|
Bits |
SimpleTextLiveDocsFormat.readLiveDocs(Directory dir,
SegmentCommitInfo info,
IOContext context) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleTextLiveDocsFormat.writeLiveDocs(Bits bits,
Directory dir,
SegmentCommitInfo info,
int newDelCount,
IOContext context) |
Modifier and Type | Class and Description |
---|---|
static class |
AssertingLeafReader.AssertingBits
Wraps a Bits but with additional asserts
|
Modifier and Type | Field and Description |
---|---|
protected Bits[] |
PerThreadPKLookup.liveDocs |
Bits[] |
MergeState.liveDocs
Live docs for each reader
|
Modifier and Type | Method and Description |
---|---|
Bits |
SegmentReader.getHardLiveDocs()
Returns the live docs that are not hard-deleted.
|
Bits |
AssertingLeafReader.getLiveDocs() |
Bits |
AllDeletedFilterReader.getLiveDocs() |
Bits |
FilterCodecReader.getLiveDocs() |
abstract Bits |
LeafReader.getLiveDocs()
Returns the
Bits representing live (not
deleted) docs. |
Bits |
SegmentReader.getLiveDocs() |
Bits |
ParallelLeafReader.getLiveDocs() |
Bits |
FilterLeafReader.getLiveDocs() |
static Bits |
MultiFields.getLiveDocs(IndexReader reader)
Returns a single
Bits instance for this
reader, merging live Documents on the
fly. |
Constructor and Description |
---|
AssertingBits(Bits in) |
LegacyBinaryDocValuesWrapper(Bits docsWithField,
LegacyBinaryDocValues values)
Deprecated.
|
LegacyNumericDocValuesWrapper(Bits docsWithField,
LegacyNumericDocValues values)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Bits |
DocIdSet.bits()
Optionally provides a
Bits interface for random access
to matching documents. |
Modifier and Type | Method and Description |
---|---|
void |
BulkScorer.score(LeafCollector collector,
Bits acceptDocs)
Scores and collects all matching documents.
|
int |
ConstantScoreQuery.ConstantBulkScorer.score(LeafCollector collector,
Bits acceptDocs,
int min,
int max) |
int |
Weight.DefaultBulkScorer.score(LeafCollector collector,
Bits acceptDocs,
int min,
int max) |
abstract int |
BulkScorer.score(LeafCollector collector,
Bits acceptDocs,
int min,
int max)
Collects matching documents in a range and return an estimation of the
next matching document which is on or after
max . |
Modifier and Type | Method and Description |
---|---|
Bits |
GroupingSearch.getAllGroupHeads()
Returns the matching group heads if
GroupingSearch.setAllGroupHeads(boolean) was set to true or an empty bit set. |
Modifier and Type | Method and Description |
---|---|
Bits |
TermVectorLeafReader.getLiveDocs() |
Modifier and Type | Method and Description |
---|---|
static Bits |
BlockJoinSelector.wrap(Bits docsWithValue,
BitSet parents,
BitSet children)
Return a
Bits instance that returns true if, and only if, any of
the children of the given parent document has a value. |
Modifier and Type | Method and Description |
---|---|
static Bits |
BlockJoinSelector.wrap(Bits docsWithValue,
BitSet parents,
BitSet children)
Return a
Bits instance that returns true if, and only if, any of
the children of the given parent document has a value. |
Modifier and Type | Method and Description |
---|---|
abstract Bits |
BitsProducer.getBits(LeafReaderContext context)
Return
Bits for the given leaf. |
Modifier and Type | Method and Description |
---|---|
boolean |
CompletionScorer.accept(int docID,
Bits liveDocs)
Returns true if a document with
docID is accepted,
false if the docID maps to a deleted
document or has been filtered out |
void |
NRTSuggester.lookup(CompletionScorer scorer,
Bits acceptDocs,
TopSuggestDocsCollector collector)
Collects at most
TopSuggestDocsCollector.getCountToCollect() completions that
match the provided CompletionScorer . |
int |
CompletionScorer.score(LeafCollector collector,
Bits acceptDocs,
int min,
int max) |
Constructor and Description |
---|
CompletionScorer(CompletionWeight weight,
NRTSuggester suggester,
LeafReader reader,
Bits filterDocs,
boolean filtered,
Automaton automaton)
Creates a scorer for a field-specific
suggester scoped by acceptDocs |
Modifier and Type | Method and Description |
---|---|
NumberRangePrefixTreeStrategy.Facets |
NumberRangePrefixTreeStrategy.calcFacets(IndexReaderContext context,
Bits topAcceptDocs,
NumberRangePrefixTree.UnitNRShape start,
NumberRangePrefixTree.UnitNRShape end)
Calculates facets between
start and end to a detail level one greater than that provided by the
arguments. |
NumberRangePrefixTreeStrategy.Facets |
NumberRangePrefixTreeStrategy.calcFacets(IndexReaderContext context,
Bits topAcceptDocs,
org.locationtech.spatial4j.shape.Shape facetRange,
int level)
Calculates facets (aggregated counts) given a range shape (start-end span) and a level, which specifies the detail.
|
HeatmapFacetCounter.Heatmap |
PrefixTreeStrategy.calcFacets(IndexReaderContext context,
Bits topAcceptDocs,
org.locationtech.spatial4j.shape.Shape inputShape,
int facetLevel,
int maxCells)
Computes spatial facets in two dimensions as a grid of numbers.
|
static HeatmapFacetCounter.Heatmap |
HeatmapFacetCounter.calcFacets(PrefixTreeStrategy strategy,
IndexReaderContext context,
Bits topAcceptDocs,
org.locationtech.spatial4j.shape.Shape inputShape,
int facetLevel,
int maxCells)
Calculates spatial 2D facets (aggregated counts) in a grid, sometimes called a heatmap.
|
static void |
PrefixTreeFacetCounter.compute(PrefixTreeStrategy strategy,
IndexReaderContext context,
Bits topAcceptDocs,
org.locationtech.spatial4j.shape.Shape queryShape,
int facetLevel,
PrefixTreeFacetCounter.FacetVisitor facetVisitor)
Computes facets using a callback/visitor style design, allowing flexibility for the caller to determine what to do
with each underlying count.
|
static void |
PrefixTreeFacetCounter.compute(PrefixTreeStrategy strategy,
LeafReaderContext context,
Bits acceptDocs,
org.locationtech.spatial4j.shape.Shape queryShape,
int facetLevel,
PrefixTreeFacetCounter.FacetVisitor facetVisitor)
Lower-level per-leaf segment method.
|
Modifier and Type | Class and Description |
---|---|
static class |
Bits.MatchAllBits
Bits impl of the specified length with all bits set.
|
static class |
Bits.MatchNoBits
Bits impl of the specified length with no bits set.
|
class |
BitSet
Base implementation for a bit set.
|
class |
FixedBitSet
BitSet of fixed length (numBits), backed by accessible (
FixedBitSet.getBits() )
long[], accessed with an int index, implementing Bits and
DocIdSet . |
class |
SparseFixedBitSet
A bit set that only stores longs that have at least one bit which is set.
|
Modifier and Type | Field and Description |
---|---|
static Bits[] |
Bits.EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
Bits |
FixedBitSet.asReadOnlyBits()
Convert this instance to read-only
Bits . |
Bits |
NotDocIdSet.bits() |
Modifier and Type | Method and Description |
---|---|
static FixedBitSet |
FixedBitSet.copyOf(Bits bits)
Make a copy of the given bits.
|
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.