|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Scorer
that aggregates a number of underlying delegating scorers
, providing equalisation if required.AbstractBitStreamIndexWriter.printStats(PrintStream)
implementation.IndexIterator
-based interval iterator.safely closeable
implementation of a document.safely closeable
implementation of a document collection.DocumentCollection
.safely closeable
implementation of a document iterator.hasNext()
and nextInt()
using nextDocument()
,
and provides support for the DocumentIterator.weight()
/DocumentIterator.weight(double)
methods.DocumentIteratorVisitor
without
return values.safely closeable
implementation of a document sequence.IndexReader
for an IndexCluster
.IndexIterator.term()
, IndexIterator.id()
, DocumentIterator.weight()
and of the visiting methods.AbstractScorer
.ConsecutiveDocumentIterator
and OrderedAndDocumentIterator
.ConsecutiveDocumentIterator
and OrderedAndDocumentIterator
internal interval iterator member classes.ConsecutiveDocumentIterator
and OrderedAndDocumentIterator
interval iterator member classes.QueryBuilderVisitor
that
returns true on all visitPre()
methods and does nothing
on AbstractQueryBuilderVisitor.prepare()
.Scorer
.AbstractIndexScorer
providing internal storage and copy of the weight map, faster array-based
access to the latter, and a default implementation of AbstractWeightedScorer.score()
.AbstractUnionDocumentIterator.acceptOnTruePaths(DocumentIteratorVisitor)
only on component
iterators positioned on the current document.
DocumentIterator.nextDocument()
,
limiting recursion to true paths.
AbstractAggregator.samples
if we exhausted the document iterator).
b
for Golomb coding of pointers.
b
for Golomb coding of pointers.
b
for Golomb coding of pointers.
b
for Golomb coding of pointers.
BitStreamHPIndexWriter.state
can be assumed only in indices that contain counts; it
means that we are positioned just before the count for the current document record.
BitStreamIndexWriter.state
can be assumed only in indices that contain counts; it
means that we are positioned just before the count for the current document record.
BitStreamHPIndexWriter.state
means that we are ready to call BitStreamHPIndexWriter.newDocumentRecord()
.
BitStreamIndexWriter.state
means that we are ready to call BitStreamIndexWriter.newDocumentRecord()
.
BitStreamHPIndexWriter.state
means that we are positioned at the start of an inverted list,
and we should call BitStreamHPIndexWriter.writeFrequency(int)
.
BitStreamIndexWriter.state
means that we are positioned at the start of an inverted list,
and we should call BitStreamIndexWriter.writeFrequency(int)
.
BitStreamHPIndexWriter.state
means that we should call BitStreamHPIndexWriter.newInvertedList()
.
BitStreamIndexWriter.state
means that we should call BitStreamIndexWriter.newInvertedList()
.
BitStreamHPIndexWriter.state
can be assumed only in indices that contain payloads; it
means that we are positioned just before the payload for the current document record.
BitStreamIndexWriter.state
can be assumed only in indices that contain payloads; it
means that we are positioned just before the payload for the current document record.
BitStreamHPIndexWriter.state
means that we just started a new document record, and we
should call BitStreamHPIndexWriter.writeDocumentPointer(OutputBitStream, int)
.
BitStreamIndexWriter.state
means that we just started a new document record, and we
should call BitStreamIndexWriter.writeDocumentPointer(OutputBitStream, int)
.
BitStreamHPIndexWriter.state
can be assumed only in indices that contain document positions;
it means that we are positioned just before the position list of the current document record.
BitStreamIndexWriter.state
can be assumed only in indices that contain document positions;
it means that we are positioned just before the position list of the current document record.
Index
and input bit
stream.
OutputBitStream
.
BitStreamIndex
.Index
and input bit stream.
OutputBitStream
.
OutputBitStream
,
without additional bit streams.
BM25Scorer.DEFAULT_K1
and BM25Scorer.DEFAULT_B
as parameters.
QueryServlet
in such a way that they are easily accessible from the Velocity Template Language.null
).
BitStreamIndexWriter
.CachingOutputBitStream.buffer()
that returns the internal buffer
if the internal buffer contains all that has been written since
the last call to position(0)
.QueryBuilderVisitor
that
returns Boolean.FALSE
only if the visited query contains a Select
node
that does not lie in the aligner of an Align
query (as in that case
the index is not part of the answer).ClarkeCormackScorer.DEFAULT_H
, α=1) to the
parameters; the resulting scorer is normalized.
ByteArrayPostingList.flush()
and then releases resources allocated by this byte-array posting list, keeping just the internal buffer.
InputBitStream
.
IntIterator
implementation based on γ-coded integers.Combine
buffer size (default: Combine.DEFAULT_BUFFER_SIZE
).
high-performance index
for positions.AbstractCompositeDocumentIterator.AbstractCompositeIndexIntervalIterator.position
for each index iterator.
index.countCoding
.
index.countCoding
.
index.countCoding
.
index.countCoding
.
index.countCoding
.
DocumentIterator
tree.TermCollectionVisitor
to set up term frequencies and counters.DocumentCollection
corresponding to a given set of records in a comma separated file.curr[ i ]
contains position[ i ][ currPos[i ] ]
.
Integer.MAX_VALUE
if we are beyond the end of list.
Integer.MAX_VALUE
if we are beyond the end of list.
Integer.MAX_VALUE
if we are beyond the end of list.
Integer.MAX_VALUE
if we are beyond the end of list.
Integer.MAX_VALUE
if we are beyond the end of list.
DocumentalConcatenatedClusterDocumentIterator.documentIterator
).
DocumentIterator.indices()
for AbstractScorer.documentIterator
;
it is set up by AbstractIndexScorer.wrap(DocumentIterator)
.
AbstractCompositeDocumentIterator.AbstractCompositeIndexIntervalIterator.position
for each index iterator.
AbstractAggregator.actualSamples
.
AbstractIndexScorer.currIndex
containing the current corresponding values in AbstractWeightedScorer.index2Weight
;
it is set up by AbstractWeightedScorer.wrap(DocumentIterator)
.
ContiguousDocumentalStrategy
).
ContiguousDocumentalStrategy
).
CompressionFlags.DEFAULT_STANDARD_INDEX
.
Index.UriKeys.OFFSETSTEP
.
IntIterator
's method to the
underlying DocumentIterator
.DocumentScoreInfo
.
key
is resolved; if this property
is not set, the default return value of value is returned.
AbstractDocumentIterator.last
, if it is not -1; otherwise, throws an IllegalStateException
.
DocumentIterator.nextDocument()
.
DocumentScoreInfo
instances by increasing document number.
DocumentalCluster
.DocumentalCluster
that concatenates the
postings of its local indices.DocumentalCluster
that merges the
postings of its local indices.QueryBuilderVisitor
that builds a DocumentIterator
resolving the queries using the objects in it.unimi.dsi.mg4j.search
.DocumentIterator
.MultiTermIndexIterator
over all terms starting with the given prefix,
provided their number does not exceed the given limit and that this index has a BitStreamIndex.prefixMap
.
IndexReader
for this index and uses it to return
an index iterator over the documents containing a term.
IndexReader
for this index and uses it to return
an index iterator over the documents containing a term; the term is
given explicitly, and the index term map is used, if present.
IndexReader
for this index and uses them to return
a document iterator over the documents containing a set of terms defined
by a prefix; the prefix is given explicitly, and unless the index has a
prefix map, an UnsupportedOperationException
will be thrown.
Scan.DEFAULT_BATCH_SIZE
).
DocumentCollection.size()
,
exclusive), and throws an IndexOutOfBoundsException
if the index is not correct.
DocumentFactory.numberOfFields()
,
exclusive), and throws an IndexOutOfBoundsException
if the index is not correct.
IntervalIterators.FALSE
.
null
.
DocumentCollection
corresponding to
a given set of files.1L << BitStreamIndex.FIXED_POINT_BITS
.
ByteArrayPostingList.setDocumentPointer(int)
).
IndirectPriorityQueue.front(int[])
of AbstractUnionDocumentIterator.queue
, if AbstractUnionDocumentIterator.frontSize
is not -1.
AbstractUnionDocumentIterator.front
, or -1 if the front has not been computed for the current document.
Index
and input bit
stream.
Index
and input bit stream.
null
for no gaps (see ConsecutiveDocumentIterator
).
Properties
.
Properties
and possibly guessing reasonable term and prefix maps from the basename.
Properties
and possibly guessing reasonable term and prefix maps from the basename.
IndexReader
based on this index, using
the default buffer size.
IndexReader
based on this index.
index.hasCounts
.
Combine.indexWriter
has counts.
AbstractDocumentIterator.AbstractIntervalIterator.next
has been already set; if not, peeks at the interval returned by nextInterval()
.
AbstractDocumentIterator.next
has been already set; if not, peeks at the document returned by nextDocument()
.
index.hasPayloads
.
Index.payload
is non-null
.
Combine.indexWriter
has payloads.
BitStreamHPIndexReader.BitStreamHPIndexReaderIndexIterator.frequency
is smaller than the number of documents).
BitStreamIndexReader.BitStreamIndexReaderIndexIterator.frequency
is smaller than the number of documents).
GammaDeltaGammaDeltaBitStreamHPIndexReader.BitStreamHPIndexReaderIndexIterator.frequency
is smaller than the number of documents).
GammaDeltaGammaDeltaBitStreamIndexReader.BitStreamIndexReaderIndexIterator.frequency
is smaller than the number of documents).
SkipGammaDeltaGammaDeltaBitStreamIndexReader.BitStreamIndexReaderIndexIterator.frequency
is smaller than the number of documents).
index.hasPositions
.
Combine.indexWriter
has positions.
h
(the maximum height of a skip tower).
h
(the maximum height of a skip tower), or -1 if this index has no skips.
h
(the maximum height of a skip tower).
h
(the maximum height of a skip tower).
h
(the maximum height of a skip tower).
BitStreamIndex.DEFAULT_HEIGHT
).
PropertyBasedDocumentFactory.MetadataKeys.ENCODING
.Index
.IndexCluster
.IndexBuilder.indexedFields
).
BitStreamHPIndexReader.BitStreamHPIndexReaderIndexIterator
view of this reader (returned by BitStreamHPIndexReader.documents(CharSequence)
).
BitStreamIndexReader.BitStreamIndexReaderIndexIterator
view of this reader (returned by BitStreamIndexReader.documents(CharSequence)
).
GammaDeltaGammaDeltaBitStreamHPIndexReader.BitStreamHPIndexReaderIndexIterator
view of this reader (returned by GammaDeltaGammaDeltaBitStreamHPIndexReader.documents(CharSequence)
).
GammaDeltaGammaDeltaBitStreamIndexReader.BitStreamIndexReaderIndexIterator
view of this reader (returned by GammaDeltaGammaDeltaBitStreamIndexReader.documents(CharSequence)
).
SkipGammaDeltaGammaDeltaBitStreamIndexReader.BitStreamIndexReaderIndexIterator
view of this reader (returned by SkipGammaDeltaGammaDeltaBitStreamIndexReader.documents(CharSequence)
).
AbstractCompositeDocumentIterator.documentIterator
, if all
underlying iterators are index iterators; null
, otherwise.
Combine.index
(filled by concrete implementations).
TermCollectionVisitor.indices()
.
TermCollectionVisitor.indices()
.
Combine.index
.
BitStreamHPIndex
index loaded in memory.RemoteIndexReader.connection
, cached.
ServerThread.socket
, buffered and wrapped inside a data input stream.
IntervalIterators.FakeIterator.hasNext()
,
which has a settable value.Query
class.DocumentIterator.intervalIterator()
DocumentIterator.intervalIterator()
, that has the same limitations (i.e., it will work only if
there is just one index), and that catches IOException
s.
DocumentCollection
corresponding to
a Javamail Store
.DocumentCollection
corresponding to
the result of a query in a relational database.AbstractDocumentIterator.nextInt()
or nextDocument()
because of a call to hasNext()
.
DocumentalConcatenatedClusterDocumentIterator.documentIterator
).
BitStreamHPIndexReader.BitStreamHPIndexReaderIndexIterator.term
.
GammaDeltaGammaDeltaBitStreamHPIndexReader.BitStreamHPIndexReaderIndexIterator.term
.
null
for no left extreme.
StringMap.list()
.
log2b
for Golomb coding of pointers; it is the most
significant bit of BitStreamHPIndexReader.BitStreamHPIndexReaderIndexIterator.b
.
log2b
for Golomb coding of pointers; it is the most significant bit of BitStreamHPIndexWriter.b
.
log2b
for Golomb coding of pointers; it is the most significant bit of BitStreamIndexReader.BitStreamIndexReaderIndexIterator.b
.
log2b
for Golomb coding of pointers; it is the most significant bit of BitStreamIndexWriter.b
.
ProgressLogger.DEFAULT_LOG_INTERVAL
).
null
).
Scan.DEFAULT_BATCH_SIZE
).
BitStreamHPIndex
.ClassStringParser
.ProgressMeter.start()
, if
the meter is running, or between the last call to ProgressMeter.stop()
and the last call to ProgressMeter.start()
, if the
meter is stopped.
MimetypesFileTypeMap
that tries to load /etc/mime.types into the map.AbstractIndexScorer.currIndex
.
T
.
T
.
AbstractDocumentIterator.AbstractIntervalIterator.hasNext()
,
or null
.
AbstractDocumentIterator.hasNext()
,
or -1.
IntervalIterator.nextInterval()
, which has been reintroduced with a fully lazy semantics.
After a couple of releases, however, this annotation will be removed, as it
is very practical to have interval iterators implementing Iterator<Interval>
. Its
main purpose is to warn people about performance issues solved by IntervalIterator.nextInterval()
.
DocumentIterator.nextDocument()
, which has been modified so to provide fully lazy
iteration. After a couple of releases, however, this annotation will be removed, as it
is very practical to have document iterators implementing IntIterator
. Its
main purpose is to warn people about performance issues solved by DocumentIterator.nextDocument()
.
Scorer.nextDocument()
, which provides fully lazy
iteration. After a couple of releases, however, this annotation will be removed, as it
is very practical to have scorers implementing IntIterator
. Its
main purpose is to let people know about Scorer.nextDocument()
, which solves
the same issues as DocumentIterator.nextDocument()
.
InputBitStream
.
null
if no more intervals are available.
UnsupportedOperationException
.
IndexIterator
on the term after the current one (optional operation).
CompressionFlags.valueOf(String[], Map)
to disable a component.
MutableString.writeSelfDelimUTF8(java.io.OutputStream)
format.
IntervalIterators.TRUE
on all interval iterators.QueryEngine.queryParser
.
OutputBitStream
.
OutputBitStream
.
null
.
OrDocumentIterator
, but using just IndexIterator.positionArray()
.RULE
to introduce the default factory.
OutOfMemoryError
during some buffer reallocation.
OutOfMemoryError
during some buffer reallocation.
RemoteIndexReader.connection
, cached.
ServerThread.socket
, buffered and wrapped inside a data output stream.
Query
object.
Query
object.
null
.
Paste.DEFAULT_MEMORY_BUFFER_SIZE
).
null
.
null
.
IndexIterator
, returning just
documents whose payload satisfies a given predicate.CompressionFlags.DEFAULT_PAYLOAD_INDEX
).
index.pointerCoding
.
index.pointerCoding
.
index.pointerCoding
.
index.pointerCoding
.
index.pointerCoding
.
index.positionCoding
.
index.positionCoding
.
index.positionCoding
.
index.positionCoding
.
index.positionCoding
.
OutputBitStream
.
null
if the prefix map was not loaded.
TermCollectionVisitor
.
ProgressLogger
instead.DocumentFactory.getDocument(java.io.InputStream,it.unimi.dsi.fastutil.objects.Reference2ObjectMap)
.BitStreamHPIndex
and quanta are variable.
BitStreamIndex.DEFAULT_QUANTUM
).
BitStreamIndexReader.BitStreamIndexReaderIndexIterator.quantum
.
SkipGammaDeltaGammaDeltaBitStreamIndexReader.BitStreamIndexReaderIndexIterator.quantum
.
BitStreamIndexReader.BitStreamIndexReaderIndexIterator.quantum
.
SkipGammaDeltaGammaDeltaBitStreamIndexReader.BitStreamIndexReaderIndexIterator.quantum
.
Query
objects.DocumentalMergedClusterDocumentIterator.documentIterator
and DocumentalMergedClusterDocumentIterator.usedIndex
).
RemoteIndex
.IndexServer
and exposes a remote InputStream
locally.LongList
.LongList
.null
result.
QueryServlet
in such a way that they are easily accessible from the Velocity Template Language.null
for no right extreme.
Enum
is equal to a given string.
Scan
buffer size (default: Scan.DEFAULT_BUFFER_SIZE
).
Scorer.score(Index)
for
each index in the current index map, and summing the weighted results.
Scorer.wrap(DocumentIterator)
.
Scorer.wrap(DocumentIterator)
, but
considering only a given index (optional operation).
DocumentScoreInfo
instances by increasing score order and then by decreasing document order.
DocumentIterator
returning scored document pointers.IntervalSelector
.index
.Index.keyIndex
.
null
if sizes are not necessary or not loaded in this index.
SkipBitStreamIndexWriter.DEFAULT_TEMP_BUFFER_SIZE
).
Index
and input bit stream.
n
.
null
, the sole index involved in this iterator.
CompressionFlags.DEFAULT_STANDARD_INDEX
).
QueryServlet.DEFAULT_TEMPLATE
).
null
if the term is defined by its number.
DocumentIterator
.null
.
null
if the term map was not loaded.
ImmutableExternalPrefixMap
).
DowncaseTermProcessor
).
MutableString.writeSelfDelimUTF8(java.io.OutputStream)
format.
TRECDocumentCollection.copy()
.
IntervalIterators.TRUE
.
null
for an untyped interval.
AbstractIntersectionDocumentIterator.currentIterators
.
CounterSetupVisitor.count
using the provided index iterator.
Combine.index
) participating to the merge process for the current term.
IntegerPayload.unset
is false.
Combine.indexWriter
which is non-null
if Combine.indexWriter
is an instance of VariableQuantumIndexWriter
.
IndexBuilder.virtualDocumentResolvers
.
VirtualDocumentResolver
.
Term
.
Prefix
.
Range
.
True
.
False
.
IndexIterator
leaf.
MultiTermIndexIterator
leaf.
TrueDocumentIterator
leaf.
FalseDocumentIterator
leaf.
And
node after recursing into the corresponding subtree.
Consecutive
node after recursing into the corresponding subtree.
LowPass
node after recursing into the corresponding subtree.
Not
node after recursing into the corresponding subtree.
Or
node after recursing into the corresponding subtree.
OrderedAnd
node after recursing into the corresponding subtree.
Align
node after recursing into the corresponding subtree.
Difference
node after recursing into the corresponding subtree.
MultiTerm
node after recursing into the corresponding subtree.
Select
node after recursing into the corresponding subtree.
Remap
node after recursing into the corresponding subtree.
Weight
node after recursing into the corresponding subtree.
And
node before recursing into the corresponding subtree.
Consecutive
node before recursing into the corresponding subtree.
LowPass
node before recursing into the corresponding subtree.
Not
node before recursing into the corresponding subtree.
Or
node before recursing into the corresponding subtree.
OrderedAnd
node before recursing into the corresponding subtree.
Align
node before recursing into the corresponding subtree.
Difference
node before recursing into the corresponding subtree.
MultiTerm
node before recursing into the corresponding subtree.
Select
node before recursing into the corresponding subtree.
Remap
node before recursing into the corresponding subtree.
Weight
node before recursing into the corresponding subtree.
null
.
DocumentCollection
corresponding to
a given set of files in the Yahoo! Wikipedia format.DocumentFactory.FieldType.TEXT
field.
CachingDocumentIterator
; then, if AbstractAggregator.samples
is nonzero computes
that many document scores and invokes AbstractAggregator.setupEqualizationFactors()
.
OutputBitStream
.
OutputBitStream
.
DocumentCollection
.ZipDocumentCollection
.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |