A B C D E F G H I J K L M N O P Q R S T U V W Z

A

AND - Static variable in interface it.unimi.dsi.mg4j.query.parser.QueryParserConstants
 
ARITH - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Arithmetic coding (see ArithmeticCoder).
ASSERTS - Static variable in class it.unimi.dsi.mg4j.search.ConsecutiveDocumentIterator
 
AbstractIntersectionDocumentIterator - class it.unimi.dsi.mg4j.search.AbstractIntersectionDocumentIterator.
An abstract iterator on documents, generating the intersection of the documents returned by a number of document iterators.
AbstractIntersectionDocumentIterator(DocumentIterator[]) - Constructor for class it.unimi.dsi.mg4j.search.AbstractIntersectionDocumentIterator
Creates a new intersection iterator using a given array of iterators.
AbstractScorer - class it.unimi.dsi.mg4j.search.score.AbstractScorer.
An abstract implementation of Scorer that scores a document iterator in such a way that one can make calls to the score methods and to the intervalIterator methods in any order and for any number of times.
AbstractScorer() - Constructor for class it.unimi.dsi.mg4j.search.score.AbstractScorer
 
AbstractTermMap - class it.unimi.dsi.mg4j.index.AbstractTermMap.
An abstract implementation of a map from term to term indices.
AbstractTermMap() - Constructor for class it.unimi.dsi.mg4j.index.AbstractTermMap
 
AndDocumentIterator - class it.unimi.dsi.mg4j.search.AndDocumentIterator.
An iterator on documents that returns the AND of a number of document iterators.
AndDocumentIterator(DocumentIterator[]) - Constructor for class it.unimi.dsi.mg4j.search.AndDocumentIterator
 
ArithmeticCoder - class it.unimi.dsi.mg4j.io.ArithmeticCoder.
An arithmetic coder.
ArithmeticCoder(int) - Constructor for class it.unimi.dsi.mg4j.io.ArithmeticCoder
Creates a new coder.
ArithmeticDecoder - class it.unimi.dsi.mg4j.io.ArithmeticDecoder.
An arithmetic decoder.
ArithmeticDecoder(int) - Constructor for class it.unimi.dsi.mg4j.io.ArithmeticDecoder
Creates a new decoder.
add(CharSequence) - Method in class it.unimi.dsi.mg4j.util.BloomFilter
Adds a character sequence to the filter.
addEscapes(String) - Static method in class it.unimi.dsi.mg4j.query.parser.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
add_escapes(String) - Method in class it.unimi.dsi.mg4j.query.parser.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
adjustBeginLineColumn(int, int) - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
Method to adjust line and column numbers for the start of a token.
aggregate(ScoredDocumentIterator[]) - Method in class it.unimi.dsi.mg4j.search.score.LinearAggregator
Aggregates the given ScoredDocumentIterators, that must be in the same number as there are weights (and relevance flags).
align() - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
align() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Aligns the stream.
align() - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Aligns the stream.
andQuery(String, boolean) - Method in class it.unimi.dsi.mg4j.query.parser.QueryParser
Starting rule for an AND-query (the AND token is optional).
append(MutableString) - Method in class it.unimi.dsi.mg4j.util.MutableString
Appends the given mutable string to this mutable string.
append(String) - Method in class it.unimi.dsi.mg4j.util.MutableString
Appends the given String to this mutable string.
append(CharSequence) - Method in class it.unimi.dsi.mg4j.util.MutableString
Appends the given CharSequence to this mutable string.
append(char[]) - Method in class it.unimi.dsi.mg4j.util.MutableString
Appends the given character array to this mutable string.
append(char[], int, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Appends a part of the given character array to this mutable string.
append(boolean) - Method in class it.unimi.dsi.mg4j.util.MutableString
Appends a boolean to this mutable string.
append(char) - Method in class it.unimi.dsi.mg4j.util.MutableString
Appends a character to this mutable string.
append(int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Appends an integer to this mutable string.
append(long) - Method in class it.unimi.dsi.mg4j.util.MutableString
Appends a long to this mutable string.
append(float) - Method in class it.unimi.dsi.mg4j.util.MutableString
Appends a float to this mutable string.
append(double) - Method in class it.unimi.dsi.mg4j.util.MutableString
Appends a double to this mutable string.
append(Object) - Method in class it.unimi.dsi.mg4j.util.MutableString
Appends the string representation of an object to this mutable string.
array - Variable in class it.unimi.dsi.mg4j.io.FastByteArrayInputStream
The array backing the input stream.
array - Variable in class it.unimi.dsi.mg4j.io.FastByteArrayOutputStream
The array backing the output stream.
array - Variable in class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
The array of arrays backing the input stream.
array - Variable in class it.unimi.dsi.mg4j.util.MutableString
The backing array.
array() - Method in class it.unimi.dsi.mg4j.util.MutableString
Gets the backing array.
atomicQuery(String, boolean) - Method in class it.unimi.dsi.mg4j.query.parser.QueryParser
Starting rule for an atomic query.
atomicSimpleQuery(String, boolean) - Method in class it.unimi.dsi.mg4j.query.parser.QueryParser
Starting rule for an atomic simple query.
avail - Variable in class it.unimi.dsi.mg4j.io.FastBufferedInputStream
The number of buffer bytes available starting from FastBufferedInputStream.pos.
avail - Variable in class it.unimi.dsi.mg4j.io.FastBufferedOutputStream
The number of buffer bytes available starting from FastBufferedOutputStream.pos.
avail - Variable in class it.unimi.dsi.mg4j.io.FastBufferedReader
The number of buffer bytes available starting from FastBufferedReader.pos.
available() - Method in class it.unimi.dsi.mg4j.io.FastBufferedInputStream
 
available() - Method in class it.unimi.dsi.mg4j.io.FastByteArrayInputStream
 
available() - Method in class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
Returns the number of bytes that can be read (or skipped over) from this input stream without blocking.
available() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Returns the number of bits that can be read (or skipped over) from this bit stream without blocking by the next caller of a method.

B

BEFORE_COUNT - Static variable in class it.unimi.dsi.mg4j.index.IndexReader
This value of IndexReader.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.
BEFORE_COUNT - Static variable in class it.unimi.dsi.mg4j.index.IndexWriter
This value of IndexWriter.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.
BEFORE_DOCUMENT_RECORD - Static variable in class it.unimi.dsi.mg4j.index.IndexWriter
This value of IndexWriter.state means that we are ready to call IndexWriter.newDocumentRecord().
BEFORE_FREQUENCY - Static variable in class it.unimi.dsi.mg4j.index.IndexReader
This value of IndexReader.state means that we are positioned at the start of an inverted list (just before the frequency).
BEFORE_FREQUENCY - Static variable in class it.unimi.dsi.mg4j.index.IndexWriter
This value of IndexWriter.state means that we are positioned at the start of an inverted list, and we should call IndexWriter.writeFrequency(int).
BEFORE_INVERTED_LIST - Static variable in class it.unimi.dsi.mg4j.index.IndexWriter
This value of IndexWriter.state means that we should call IndexWriter.newInvertedList().
BEFORE_POINTER - Static variable in class it.unimi.dsi.mg4j.index.IndexReader
This value of IndexReader.state means that we are at the start of a new document record, unless we already read all documents (i.e., IndexReader.numberOfDocumentRecord == IndexReader.frequency), in which case we are at the end of the inverted list, and IndexReader.endOfList() is true.
BEFORE_POINTER - Static variable in class it.unimi.dsi.mg4j.index.IndexWriter
This value of IndexWriter.state means that we just started a new document record, and we should call IndexWriter.writeDocumentPointer(OutputBitStream, int).
BEFORE_POSITIONS - Static variable in class it.unimi.dsi.mg4j.index.IndexReader
This value of IndexReader.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.
BEFORE_POSITIONS - Static variable in class it.unimi.dsi.mg4j.index.IndexWriter
This value of IndexWriter.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.
BEFORE_TOWER - Static variable in class it.unimi.dsi.mg4j.index.SkipIndexReader
This value of IndexReader.state means that we are positioned just before a tower.
BITS - Static variable in class it.unimi.dsi.mg4j.io.ArithmeticCoder
Number of bits used by the coder.
BITS - Static variable in class it.unimi.dsi.mg4j.io.ArithmeticDecoder
Number of bits used by the decoder.
BYTELSB - Static variable in class it.unimi.dsi.mg4j.util.Fast
Precomputed least significant bits for bytes (-1 for 0 ).
BYTEMSB - Static variable in class it.unimi.dsi.mg4j.util.Fast
Precomputed most significant bits for bytes (-1 for 0 ).
BeginToken() - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
BloomFilter - class it.unimi.dsi.mg4j.util.BloomFilter.
A Bloom filter.
BloomFilter(int, int) - Constructor for class it.unimi.dsi.mg4j.util.BloomFilter
Creates a new Bloom filter with given number of hash functions and expected number of elements.
b - Variable in class it.unimi.dsi.mg4j.index.IndexReader
The parameter b for Golomb coding of pointers.
b - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The parameter b for Golomb coding of pointers.
backup(int) - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
basename - Variable in class it.unimi.dsi.mg4j.index.Index
The basename of this index.
beginColumn - Variable in class it.unimi.dsi.mg4j.query.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - Variable in class it.unimi.dsi.mg4j.query.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
bitsForAlignment - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The number of bits written for alignment.
bitsForCounts - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The number of bits written for counts.
bitsForEntries() - Method in class it.unimi.dsi.mg4j.index.SkipIndexWriter.TowerData
Returns the overall number of bits used for tower entries (bits for tower lengths are not included).
bitsForEntryBitLengths - Variable in class it.unimi.dsi.mg4j.index.SkipIndexWriter
The number of bits written for entry lenghts.
bitsForFrequencies - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The number of bits written for frequencies.
bitsForLowerSkipAmounts - Variable in class it.unimi.dsi.mg4j.index.SkipIndexWriter.TowerData
The number of bits written for skip amounts in the lower part of a tower.
bitsForLowerSkipPointers - Variable in class it.unimi.dsi.mg4j.index.SkipIndexWriter.TowerData
The number of bits written for skip pointers in the lower part of a tower.
bitsForPointers - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The number of bits written for document pointers.
bitsForPositions - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The number of bits written for positions.
bitsForQuantumBitLengths - Variable in class it.unimi.dsi.mg4j.index.SkipIndexWriter
The number of bits written for quantum lengths.
bitsForSkipAmounts() - Method in class it.unimi.dsi.mg4j.index.SkipIndexWriter.TowerData
Returns the overall number of bits used for skip amounts.
bitsForSkipPointers() - Method in class it.unimi.dsi.mg4j.index.SkipIndexWriter.TowerData
Returns the overall number of bits used for skip pointers.
bitsForTopSkipAmounts - Variable in class it.unimi.dsi.mg4j.index.SkipIndexWriter.TowerData
The number of bits written for skip amounts at the top of a tower.
bitsForTopSkipPointers - Variable in class it.unimi.dsi.mg4j.index.SkipIndexWriter.TowerData
The number of bits written for skip pointers at the top of a tower.
bitsForTowerLengths - Variable in class it.unimi.dsi.mg4j.index.SkipIndexWriter.TowerData
The number of bits written for tower lengths.
bitsForTowers() - Method in class it.unimi.dsi.mg4j.index.SkipIndexWriter.TowerData
Returns the overall number of bits used for towers.
bufcolumn - Variable in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
buffer - Variable in class it.unimi.dsi.mg4j.io.FastBufferedInputStream
The internal buffer.
buffer - Variable in class it.unimi.dsi.mg4j.io.FastBufferedOutputStream
The internal buffer.
buffer - Variable in class it.unimi.dsi.mg4j.io.FastBufferedReader
The internal buffer.
buffer - Variable in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
bufline - Variable in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
bufpos - Variable in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
byteFrontCodedList - Variable in class it.unimi.dsi.mg4j.util.FrontCodedStringList
The underlying ByteArrayFrontCodedList, or null.

C

CASE_INSENSITIVE - Static variable in class it.unimi.dsi.mg4j.util.TextPattern
Enables case-insensitive matching.
CLOSE_PAREN - Static variable in interface it.unimi.dsi.mg4j.query.parser.QueryParserConstants
 
CODING_NAME - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
 
COLON - Static variable in interface it.unimi.dsi.mg4j.query.parser.QueryParserConstants
 
COMPRESSIONFLAGS - Static variable in class it.unimi.dsi.mg4j.index.IndexProperties
The compression flags.
COUNTS_DEFAULT - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: default value for count coding (γ).
COUNTS_DELTA - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: write counts of occurrence lists using δ coding.
COUNTS_GAMMA - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: write counts of occurrence lists using γ coding (default).
COUNTS_SHIFT - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
The mask shift for count coding.
CRC32SignedMinimalPerfectHash - class it.unimi.dsi.mg4j.util.CRC32SignedMinimalPerfectHash.
CRC-32 signed order-preserving minimal perfect hash tables.
CRC32SignedMinimalPerfectHash(Collection, int) - Constructor for class it.unimi.dsi.mg4j.util.CRC32SignedMinimalPerfectHash
Creates a new CRC32-signed order-preserving minimal perfect hash table for the given set of words using the given number of weights.
CRC32SignedMinimalPerfectHash(Collection) - Constructor for class it.unimi.dsi.mg4j.util.CRC32SignedMinimalPerfectHash
Creates a new CRC32-signed order-preserving minimal perfect hash table for the given set of words, using as many weights as the longest word in the collection.
CRC32SignedMinimalPerfectHash(String, String, int) - Constructor for class it.unimi.dsi.mg4j.util.CRC32SignedMinimalPerfectHash
Creates a new CRC32-signed order-preserving minimal perfect hash table for the given file of words using the given number of weights.
CRC32SignedMinimalPerfectHash(String) - Constructor for class it.unimi.dsi.mg4j.util.CRC32SignedMinimalPerfectHash
Creates a new CRC32-signed order-preserving minimal perfect hash table for the given file of words, using as many weights as the longest word in the file.
ClarkeCormackScorer - class it.unimi.dsi.mg4j.search.score.ClarkeCormackScorer.
Computes the Clarke-Cormack score of all interval iterators of a document.
ClarkeCormackScorer(int, double) - Constructor for class it.unimi.dsi.mg4j.search.score.ClarkeCormackScorer
Creates a scorer with given parameter.
ClarkeCormackScorer() - Constructor for class it.unimi.dsi.mg4j.search.score.ClarkeCormackScorer
Default constructor, assigning the default values (h=16, alpha=1) to the parameter.
CompressionFlags - interface it.unimi.dsi.mg4j.index.CompressionFlags.
This interface provides constants to be used as compression flags for the constructors of the IndexReader and IndexWriter classes.
ConsecutiveDocumentIterator - class it.unimi.dsi.mg4j.search.ConsecutiveDocumentIterator.
An iterator returning documents containing consecutive intervals satisfying the underlying queries; the intervals must be in query order.
ConsecutiveDocumentIterator(DocumentIterator[]) - Constructor for class it.unimi.dsi.mg4j.search.ConsecutiveDocumentIterator
 
capacity() - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the current length of the backing array.
caseInsensitive() - Method in class it.unimi.dsi.mg4j.util.TextPattern
Returns whether this pattern is case insensitive.
changed() - Method in class it.unimi.dsi.mg4j.util.MutableString
Invalidates the current cached hash code if this mutable string is compact.
charAt(int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Gets a character.
charAt(int, char) - Method in class it.unimi.dsi.mg4j.util.MutableString
Sets the character at the given index.
charAt(int) - Method in class it.unimi.dsi.mg4j.util.TextPattern
 
charFrontCodedList - Variable in class it.unimi.dsi.mg4j.util.FrontCodedStringList
The underlying CharArrayFrontCodedList, or null.
checkSignature(CharSequence, int) - Method in class it.unimi.dsi.mg4j.util.CRC32SignedMinimalPerfectHash
 
checkSignature(CharSequence, int) - Method in class it.unimi.dsi.mg4j.util.HashCodeSignedMinimalPerfectHash
 
checkSignature(CharSequence, int) - Method in class it.unimi.dsi.mg4j.util.LiterallySignedMinimalPerfectHash
 
checkSignature(CharSequence, int) - Method in class it.unimi.dsi.mg4j.util.SignedMinimalPerfectHash
Checks a signature.
clarkeCormackScore(IntervalIterator, double, int) - Static method in class it.unimi.dsi.mg4j.search.IntervalIterators
Computes the Clarke-Cormack score of a document.
clarkeCormackScore(IntervalIterator) - Static method in class it.unimi.dsi.mg4j.search.IntervalIterators
Computes the Clarke-Cormack score using the default values for parameter (h=16 and alpha=1).
clone() - Method in class it.unimi.dsi.mg4j.util.MutableString
Creates a new compact mutable string by copying this one.
close() - Method in class it.unimi.dsi.mg4j.index.IndexReader
Closes the underlying bit stream.
close() - Method in class it.unimi.dsi.mg4j.index.IndexWriter
Closes the underlying bit stream.
close() - Method in class it.unimi.dsi.mg4j.index.SkipIndexWriter
Closes the underlying bit stream.
close() - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
close() - Method in class it.unimi.dsi.mg4j.io.FastBufferedInputStream
 
close() - Method in class it.unimi.dsi.mg4j.io.FastBufferedOutputStream
 
close() - Method in class it.unimi.dsi.mg4j.io.FastBufferedReader
 
close() - Method in class it.unimi.dsi.mg4j.io.FastByteArrayInputStream
Closing a fast byte array input stream has no effect.
close() - Method in class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
Closing a fast byte array input stream has no effect.
close() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Closes the bit stream.
close() - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Closes the bit stream.
column - Variable in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
compact() - Method in class it.unimi.dsi.mg4j.util.MutableString
Makes this mutable string compact (see the class description).
compareTo(Object) - Method in class it.unimi.dsi.mg4j.tool.Occurrence
Compares this occurrence with another object.
compareTo(Object) - Method in class it.unimi.dsi.mg4j.util.MutableString
Compares this mutable string to another object.
compareTo(MutableString) - Method in class it.unimi.dsi.mg4j.util.MutableString
Type-specific version of compareTo().
compareTo(String) - Method in class it.unimi.dsi.mg4j.util.MutableString
Type-specific version of compareTo().
compareTo(CharSequence) - Method in class it.unimi.dsi.mg4j.util.MutableString
Type-specific version of compareTo().
compareToIgnoreCase(MutableString) - Method in class it.unimi.dsi.mg4j.util.MutableString
Compares this mutable string to another object disregarding case.
compareToIgnoreCase(String) - Method in class it.unimi.dsi.mg4j.util.MutableString
Type-specific version of compareToIgnoreCase().
compareToIgnoreCase(CharSequence) - Method in class it.unimi.dsi.mg4j.util.MutableString
Type-specific version of compareToIgnoreCase().
contains(CharSequence) - Method in class it.unimi.dsi.mg4j.util.BloomFilter
Checks whether the given character sequence is in this filter.
copy() - Method in class it.unimi.dsi.mg4j.util.MutableString
Creates a new compact mutable string by copying this one.
cospan(CharSet, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Spans a segment of this mutable string made of the complement of the specified characters.
cospan(CharSet) - Method in class it.unimi.dsi.mg4j.util.MutableString
Spans the initial segment of this mutable string made of the complement of the specified characters.
cospan(char[], int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Spans a segment of this mutable string made of the complement of the specified characters.
cospan(char[]) - Method in class it.unimi.dsi.mg4j.util.MutableString
Spans the initial segment of this mutable string made of the complement of the specified characters.
count() - Method in interface it.unimi.dsi.mg4j.index.IndexIterator
Returns the count, that is, the number of occurrences of the term in the current document.
count - Variable in class it.unimi.dsi.mg4j.index.IndexReader
The current count (if this index contains counts).
count(long) - Method in class it.unimi.dsi.mg4j.util.ProgressMeter
Sets the count.
count() - Method in class it.unimi.dsi.mg4j.util.ProgressMeter
Returns the current count.
countCoding - Variable in class it.unimi.dsi.mg4j.index.Index
The coding for counts.
countSortOnDocuments(Occurrence[], Occurrence[], int, int[], int) - Static method in class it.unimi.dsi.mg4j.tool.Occurrence
Performs a distribution-counting sort over a vector of occurrences using only Occurrence.docIndex as key.
countSortOnTerms(Occurrence[], Occurrence[], int, int[], int) - Static method in class it.unimi.dsi.mg4j.tool.Occurrence
Performs a distribution-counting sort over a vector of occurrences using only Occurrence.termIndex as key.
curChar - Variable in class it.unimi.dsi.mg4j.query.parser.QueryParserTokenManager
 
currentDocument - Variable in class it.unimi.dsi.mg4j.index.IndexReader
The last document pointer in the current list, or -1 if we just read the frequency.
currentDocument - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The current document pointer.
currentDocumentPointer() - Method in class it.unimi.dsi.mg4j.index.IndexReader
Returns the current document pointer.
currentTerm - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The current term.
currentToken - Variable in class it.unimi.dsi.mg4j.query.parser.ParseException
This is the last token that has been consumed successfully.

D

DEBUG - Static variable in class it.unimi.dsi.mg4j.search.ConsecutiveDocumentIterator
 
DEFAULT - Static variable in interface it.unimi.dsi.mg4j.query.parser.QueryParserConstants
 
DEFAULT_BUFFER_SIZE - Static variable in class it.unimi.dsi.mg4j.io.FastBufferedInputStream
The default size of the internal buffer in bytes (16Ki).
DEFAULT_BUFFER_SIZE - Static variable in class it.unimi.dsi.mg4j.io.FastBufferedOutputStream
The default size of the internal buffer in bytes (16Ki).
DEFAULT_BUFFER_SIZE - Static variable in class it.unimi.dsi.mg4j.io.FastBufferedReader
The default size of the internal buffer in bytes (16Ki).
DEFAULT_BUFFER_SIZE - Static variable in class it.unimi.dsi.mg4j.io.InputBitStream
The default size of the byte buffer in bytes (16Ki).
DEFAULT_BUFFER_SIZE - Static variable in class it.unimi.dsi.mg4j.io.OutputBitStream
The default size of the byte buffer in bytes (16Ki).
DEFAULT_INITIAL_CAPACITY - Static variable in class it.unimi.dsi.mg4j.io.FastByteArrayOutputStream
The array backing the output stream.
DELTA - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
δ coding (see OutputBitStream.writeDelta(int)).
DOCUMENTS - Static variable in class it.unimi.dsi.mg4j.index.IndexProperties
The number of documents in the collection.
DebugOutputBitStream - class it.unimi.dsi.mg4j.io.DebugOutputBitStream.
A debugging wrapper for output bit streams.
DebugOutputBitStream(OutputBitStream, PrintStream) - Constructor for class it.unimi.dsi.mg4j.io.DebugOutputBitStream
Creates a new debug output bit stream wrapping a given output bit stream and logging on a given writer.
DebugOutputBitStream(OutputBitStream) - Constructor for class it.unimi.dsi.mg4j.io.DebugOutputBitStream
Creates a new debug output bit stream wrapping a given output bit stream and logging on standard error.
DocumentIterator - interface it.unimi.dsi.mg4j.search.DocumentIterator.
An iterator over documents and their intervals.
DocumentIterators - class it.unimi.dsi.mg4j.search.DocumentIterators.
A class providing static methods and objects that do useful things with document iterators.
DocumentIterators() - Constructor for class it.unimi.dsi.mg4j.search.DocumentIterators
 
DocumentRankScorer - class it.unimi.dsi.mg4j.search.score.DocumentRankScorer.
Compute scores that do not depend on intervals, but that just assign a fixed score to each document; scores are read from a file whose name is passed to the constructor.
DocumentRankScorer() - Constructor for class it.unimi.dsi.mg4j.search.score.DocumentRankScorer
Builds a document scorer that assigns the score 0 to all documents.
DocumentRankScorer(String, ProgressMeter) - Constructor for class it.unimi.dsi.mg4j.search.score.DocumentRankScorer
Builds a document scorer by first reading the ranks from a file.
Done() - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
d - Variable in class it.unimi.dsi.mg4j.util.BloomFilter
The number of hash functions used by this filter.
debugStream - Variable in class it.unimi.dsi.mg4j.query.parser.QueryParserTokenManager
 
decode(InputBitStream) - Method in class it.unimi.dsi.mg4j.io.ArithmeticDecoder
Decodes a symbol.
delete(int, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Removes the characters of this mutable string with indices in the range from start (inclusive) to end (exclusive).
deleteCharAt(int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Removes the character at the given index.
dequeue() - Method in class it.unimi.dsi.mg4j.util.ScoredDocumentBoundedSizeQueue
Dequeues an index from the queue.
disable_tracing() - Method in class it.unimi.dsi.mg4j.query.parser.QueryParser
 
displayModeOutput(DocumentIterator, List) - Static method in class it.unimi.dsi.mg4j.query.Query
Scores the given document iterator and produces score output.
docIndex - Variable in class it.unimi.dsi.mg4j.tool.Occurrence
The document index.
docPosition - Variable in class it.unimi.dsi.mg4j.tool.Occurrence
The position of this occurrence of term Occurrence.termIndex in document Occurrence.docIndex.
document() - Method in class it.unimi.dsi.mg4j.search.AbstractIntersectionDocumentIterator
 
document() - Method in interface it.unimi.dsi.mg4j.search.DocumentIterator
Returns the last document returned by IntIterator.nextInt().
document() - Method in class it.unimi.dsi.mg4j.search.LowPassDocumentIterator
 
document() - Method in class it.unimi.dsi.mg4j.search.NotDocumentIterator
 
document() - Method in class it.unimi.dsi.mg4j.search.OrDocumentIterator
 
document - Variable in class it.unimi.dsi.mg4j.util.ScoredDocumentBoundedSizeQueue
An array containing documents.
documents(int) - Method in class it.unimi.dsi.mg4j.index.IndexReader
Returns a document iterator over the documents containing a term.
documents(CharSequence) - Method in class it.unimi.dsi.mg4j.index.IndexReader
Returns a document iterator over the documents containing a term; the term is given explicitly, and the index term map is used, if present.
done() - Method in class it.unimi.dsi.mg4j.util.ProgressMeter
Completes a run of this progress meter, printing " done" and printing this meter itself.

E

EMPTY_ARRAY - Static variable in class it.unimi.dsi.mg4j.search.Intervals
 
EMPTY_DOCUMENT_ITERATOR_ARRAY - Static variable in class it.unimi.dsi.mg4j.search.DocumentIterators
 
EMPTY_ITERATOR - Static variable in class it.unimi.dsi.mg4j.search.IntervalIterators
 
EOF - Static variable in interface it.unimi.dsi.mg4j.query.parser.QueryParserConstants
 
ExpandBuff(boolean) - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
emptyDocumentIterator - Variable in class it.unimi.dsi.mg4j.index.Index
A singleton for an iterator returning no documents based on this index.
enable_tracing() - Method in class it.unimi.dsi.mg4j.query.parser.QueryParser
 
encode(int, OutputBitStream) - Method in class it.unimi.dsi.mg4j.io.ArithmeticCoder
Encodes a symbol.
endColumn - Variable in class it.unimi.dsi.mg4j.query.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endLine - Variable in class it.unimi.dsi.mg4j.query.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endOfList() - Method in class it.unimi.dsi.mg4j.index.IndexReader
Returns whether there are no more document records in the current inverted list.
endsWith(MutableString) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns whether this mutable string ends with the given mutable string.
endsWith(String) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns whether this mutable string ends with the given string.
endsWith(CharSequence) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns whether this mutable string ends with the given character sequence.
endsWithIgnoreCase(MutableString) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns whether this mutable string ends with the given mutable string disregarding case.
endsWithIgnoreCase(String) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns whether this mutable string ends with the given string disregarding case.
endsWithIgnoreCase(CharSequence) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns whether this mutable string ends with the given character sequence disregarding case.
enqueue(int, double) - Method in class it.unimi.dsi.mg4j.util.ScoredDocumentBoundedSizeQueue
Enqueues a document with given score.
ensureCapacity(int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Ensures that at least the given number of characters can be stored in this mutable string.
eol - Variable in class it.unimi.dsi.mg4j.query.parser.ParseException
The end of line string for this machine.
equals(Object) - Method in class it.unimi.dsi.mg4j.search.Interval
 
equals(Object) - Method in class it.unimi.dsi.mg4j.tool.Occurrence
 
equals(Object) - Method in class it.unimi.dsi.mg4j.util.MutableString
Compares this mutable string to another object.
equals(MutableString) - Method in class it.unimi.dsi.mg4j.util.MutableString
Type-specific version of equals().
equals(String) - Method in class it.unimi.dsi.mg4j.util.MutableString
Type-specific version of equals().
equals(CharSequence) - Method in class it.unimi.dsi.mg4j.util.MutableString
Type-specific version of equals().
equals(Object) - Method in class it.unimi.dsi.mg4j.util.TextPattern
Compares this text pattern to another object.
equalsIgnoreCase(MutableString) - Method in class it.unimi.dsi.mg4j.util.MutableString
Checks two mutable strings for equality ignoring case.
equalsIgnoreCase(String) - Method in class it.unimi.dsi.mg4j.util.MutableString
Type-specific version of equalsIgnoreCase().
equalsIgnoreCase(CharSequence) - Method in class it.unimi.dsi.mg4j.util.MutableString
Type-specific version of equalsIgnoreCase().
expectedTokenSequences - Variable in class it.unimi.dsi.mg4j.query.parser.ParseException
Each entry in this array is an array of integers.
expectedUpdates(long) - Method in class it.unimi.dsi.mg4j.util.ProgressMeter
Sets the expected number of updates.
expectedUpdates() - Method in class it.unimi.dsi.mg4j.util.ProgressMeter
Returns the expected number of updates.
extent() - Method in interface it.unimi.dsi.mg4j.search.IntervalIterator
Returns an approximation of a lower bound for the length of an interval returned by this iterator.
extent() - Method in class it.unimi.dsi.mg4j.search.IntervalIterators.EmptyIntervalIterator
 
extent() - Method in class it.unimi.dsi.mg4j.search.IntervalIterators.FakeIterator
 

F

FALSE - Static variable in class it.unimi.dsi.mg4j.search.IntervalIterators
An iterator representing absolute falseness.
FIRST_UNUSED_STATE - Static variable in class it.unimi.dsi.mg4j.index.IndexReader
This is the first unused state.
FIRST_UNUSED_STATE - Static variable in class it.unimi.dsi.mg4j.index.IndexWriter
This is the first unused state.
FIRST_UNUSED_STATE - Static variable in class it.unimi.dsi.mg4j.index.SkipIndexReader
This is the first unused state.
FREQUENCIES_DEFAULT - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: default value for frequency coding (γ).
FREQUENCIES_DELTA - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: write the term frequency using δ coding.
FREQUENCIES_GAMMA - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: write the term frequency using γ coding.
FREQUENCIES_SHIFT - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
The mask shift for frequency coding.
Fast - class it.unimi.dsi.mg4j.util.Fast.
All-purpose optimised static-method container class.
FastBufferedInputStream - class it.unimi.dsi.mg4j.io.FastBufferedInputStream.
Lightweight, unsynchronised, aligned input stream buffering class.
FastBufferedInputStream(InputStream, int) - Constructor for class it.unimi.dsi.mg4j.io.FastBufferedInputStream
Creates a new fast buffered input stream by wrapping a given input stream with a given buffer size.
FastBufferedInputStream(InputStream) - Constructor for class it.unimi.dsi.mg4j.io.FastBufferedInputStream
Creates a new fast buffered input stream by wrapping a given input stream with a buffer of FastBufferedInputStream.DEFAULT_BUFFER_SIZE bytes.
FastBufferedOutputStream - class it.unimi.dsi.mg4j.io.FastBufferedOutputStream.
Lightweight, unsynchronised, aligned output stream buffering class.
FastBufferedOutputStream(OutputStream, int) - Constructor for class it.unimi.dsi.mg4j.io.FastBufferedOutputStream
Creates a new fast buffered output stream by wrapping a given output stream with a given buffer size.
FastBufferedOutputStream(OutputStream) - Constructor for class it.unimi.dsi.mg4j.io.FastBufferedOutputStream
Creates a new fast buffered ouptut stream by wrapping a given output stream with a buffer of FastBufferedOutputStream.DEFAULT_BUFFER_SIZE bytes.
FastBufferedReader - class it.unimi.dsi.mg4j.io.FastBufferedReader.
Lightweight, unsynchronised, aligned reader buffering class.
FastBufferedReader(Reader, int) - Constructor for class it.unimi.dsi.mg4j.io.FastBufferedReader
Creates a new fast buffered reder by wrapping a given reder with a given buffer size.
FastBufferedReader(Reader) - Constructor for class it.unimi.dsi.mg4j.io.FastBufferedReader
Creates a new fast buffered reader by wrapping a given reader with a buffer of FastBufferedReader.DEFAULT_BUFFER_SIZE characters.
FastByteArrayInputStream - class it.unimi.dsi.mg4j.io.FastByteArrayInputStream.
Simple, fast and repositionable byte-array input stream.
FastByteArrayInputStream(byte[], int, int) - Constructor for class it.unimi.dsi.mg4j.io.FastByteArrayInputStream
Creates a new array input stream using a given array fragment.
FastByteArrayInputStream(byte[]) - Constructor for class it.unimi.dsi.mg4j.io.FastByteArrayInputStream
Creates a new array input stream using a given array.
FastByteArrayOutputStream - class it.unimi.dsi.mg4j.io.FastByteArrayOutputStream.
Simple, fast byte-array output stream that exposes the backing array.
FastByteArrayOutputStream() - Constructor for class it.unimi.dsi.mg4j.io.FastByteArrayOutputStream
Creates a new array output stream with an initial capacity of FastByteArrayOutputStream.DEFAULT_INITIAL_CAPACITY bytes.
FastByteArrayOutputStream(int) - Constructor for class it.unimi.dsi.mg4j.io.FastByteArrayOutputStream
Creates a new array output stream with a given initial capacity.
FastByteArrayOutputStream(byte[]) - Constructor for class it.unimi.dsi.mg4j.io.FastByteArrayOutputStream
Creates a new array output stream wrapping a given byte array.
FastMultiByteArrayInputStream - class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream.
Simple, fast and repositionable byte array input stream that multiplexes its content among several arrays.
FastMultiByteArrayInputStream(InputStream, long) - Constructor for class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
Creates a new multi-array input stream loading it from an input stream.
FastMultiByteArrayInputStream(FastMultiByteArrayInputStream) - Constructor for class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
Creates a new multi-array input stream sharing the backing arrays of another multi-array input stream.
FastMultiByteArrayInputStream(byte[]) - Constructor for class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
Creates a new multi-array input stream using a given array.
FillBuff() - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
FirstPass - class it.unimi.dsi.mg4j.tool.FirstPass.
Builds batched occurrence files from a list of documents read from standard input.
FrontCodedStringList - class it.unimi.dsi.mg4j.util.FrontCodedStringList.
Compact storage of strings using front-coding compression.
FrontCodedStringList(Iterator, int, boolean) - Constructor for class it.unimi.dsi.mg4j.util.FrontCodedStringList
Creates a new front-coded string list containing the character sequences returned by the given iterator.
FrontCodedStringList(Collection, int, boolean) - Constructor for class it.unimi.dsi.mg4j.util.FrontCodedStringList
Creates a new front-coded string list containing the character sequences contained in the given collection.
firstChar() - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the first character of this mutable string.
flags - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The coding flags.
flags2String(long) - Static method in class it.unimi.dsi.mg4j.index.IndexWriter
This method unpacks the flags, expressed as a long, and returns a string with the compression flags.
flush(OutputBitStream) - Method in class it.unimi.dsi.mg4j.io.ArithmeticCoder
Flushes the last bits.
flush(InputBitStream) - Method in class it.unimi.dsi.mg4j.io.ArithmeticDecoder
Flushes (reads) the disambiguating bits.
flush() - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
flush() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Flushes the bit stream.
flush() - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Flushes the bit stream.
format(double) - Static method in class it.unimi.dsi.mg4j.util.Fast
Formats a number.
format(long) - Static method in class it.unimi.dsi.mg4j.util.Fast
Formats a number.
frequency() - Method in interface it.unimi.dsi.mg4j.index.IndexIterator
Returns the frequency, that is, the number of documents that will be returned by this iterator.
frequency - Variable in class it.unimi.dsi.mg4j.index.IndexReader
The current frequency.
frequency - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The number of document records that the current inverted list will contain.
frequencyCoding - Variable in class it.unimi.dsi.mg4j.index.Index
The coding for frequencies.
frontCodedList - Variable in class it.unimi.dsi.mg4j.util.FrontCodedStringList
The underlying front-coded list (either a ByteArrayFrontCodedList, or a CharArrayFrontCodedList, depending on the value of FrontCodedStringList.utf8).
frontCodedStringList - Variable in class it.unimi.dsi.mg4j.util.PermutedFrontCodedStringList
The underlying front-coded string list.

G

GAMMA - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
γ coding (see OutputBitStream.writeGamma(int)).
GOLOMB - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Golomb coding (see OutputBitStream.writeGolomb(int,int)).
GOLOMB_ADD - Static variable in class it.unimi.dsi.mg4j.util.Fast
 
GOLOMB_GAUSSIAN - Static variable in class it.unimi.dsi.mg4j.util.Fast
 
GOLOMB_MULT - Static variable in class it.unimi.dsi.mg4j.util.Fast
 
GOLOMB_STEP - Static variable in class it.unimi.dsi.mg4j.util.Fast
 
GOLOMB_STEP_LENGTH - Static variable in class it.unimi.dsi.mg4j.util.Fast
 
GOLOMB_THRESHOLD - Static variable in class it.unimi.dsi.mg4j.util.Fast
 
GetImage() - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
GetSuffix(int) - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
g - Variable in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
The final magick—the function turning the intermediate hash values into the final bucket.
gaussianGolombModulus(double) - Static method in class it.unimi.dsi.mg4j.util.Fast
Computes the Golomb modulus for (positive and negative) integers normally distributed with given standard deviation using the formula ⌈ 2 sqrt( 2 / π ) ln(2) σ ⌉.
generateParseException() - Method in class it.unimi.dsi.mg4j.query.parser.QueryParser
 
get(int) - Method in class it.unimi.dsi.mg4j.index.AbstractTermMap
 
get(int, MutableString) - Method in class it.unimi.dsi.mg4j.index.AbstractTermMap
 
get(CharSequence) - Method in interface it.unimi.dsi.mg4j.index.TermMap
Returns the index corresponding to the given term, or possibly (but not necessarily) -1 if the term was not indexed.
get(int) - Method in interface it.unimi.dsi.mg4j.index.TermMap
Returns the term corresponding to the given index (optional operation).
get(int, MutableString) - Method in interface it.unimi.dsi.mg4j.index.TermMap
Writes in the given mutable string the term corresponding to the given index (optional operation).
get(int) - Method in class it.unimi.dsi.mg4j.util.FrontCodedStringList
Returns the element at the specified position in this front-coded as a mutable string.
get(int, MutableString) - Method in class it.unimi.dsi.mg4j.util.FrontCodedStringList
Returns the element at the specified position in this front-coded list by storing it in a mutable string.
get(CharSequence) - Method in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Hashes a given term.
get(MutableString) - Method in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Hashes a given term.
get(int) - Method in class it.unimi.dsi.mg4j.util.PermutedFrontCodedStringList
 
get(int, MutableString) - Method in class it.unimi.dsi.mg4j.util.PermutedFrontCodedStringList
Returns the element at the specified position in this front-coded list by storing it in a mutable string.
get(CharSequence) - Method in class it.unimi.dsi.mg4j.util.SignedMinimalPerfectHash
Hashes a given term.
getBeginColumn() - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
getBeginLine() - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
getChars(CharSequence, int, int, char[], int) - Static method in class it.unimi.dsi.mg4j.util.MutableString
Commodity static method implementing String.getChars(int,int,char[],int) for a CharSequences.
getChars(int, int, char[], int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Characters with indices from start (inclusive) to index end (exclusive) are copied from this mutable string into the array dest, starting from index destStart.
getColumn() - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
Deprecated.  
getComposedIntervalIterator(Index) - Method in class it.unimi.dsi.mg4j.search.AbstractIntersectionDocumentIterator
 
getComposedIntervalIterator(Index) - Method in class it.unimi.dsi.mg4j.search.AndDocumentIterator
 
getComposedIntervalIterator(Index) - Method in class it.unimi.dsi.mg4j.search.ConsecutiveDocumentIterator
 
getEndColumn() - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
getEndLine() - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
getFromT(CharSequence) - Method in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Gets a term out of the stored array MinimalPerfectHash.t.
getInstance(CharSequence, TermMap, boolean, ProgressMeter) - Static method in class it.unimi.dsi.mg4j.index.Index
Creates a new index using the given basename, loading offsets.
getInstance(CharSequence, boolean, ProgressMeter) - Static method in class it.unimi.dsi.mg4j.index.Index
Creates a new index using the given basename, loading offsets.
getInstance(CharSequence, ProgressMeter) - Static method in class it.unimi.dsi.mg4j.index.Index
Creates a new index using the given basename, loading offsets.
getInstance(CharSequence) - Static method in class it.unimi.dsi.mg4j.index.Index
Creates a new index using the given basename.
getInstance() - Static method in class it.unimi.dsi.mg4j.io.NullInputStream
Returns the only instance of this class.
getInstance() - Static method in class it.unimi.dsi.mg4j.io.NullOutputStream
Returns the only instance of this class.
getInstance(int, int) - Static method in class it.unimi.dsi.mg4j.search.Interval
Returns an interval with given extremes.
getInstance(int) - Static method in class it.unimi.dsi.mg4j.search.Interval
Returns a one-point interval.
getLine() - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
Deprecated.  
getMessage() - Method in class it.unimi.dsi.mg4j.query.parser.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in class it.unimi.dsi.mg4j.query.parser.TokenMgrError
You can also modify the body of this method to customize your error messages.
getNextToken() - Method in class it.unimi.dsi.mg4j.query.parser.QueryParser
 
getNextToken() - Method in class it.unimi.dsi.mg4j.query.parser.QueryParserTokenManager
 
getReader() - Method in class it.unimi.dsi.mg4j.index.Index
Creates and returns a new IndexReader based on this index.
getReader(int) - Method in class it.unimi.dsi.mg4j.index.Index
Creates and returns a new IndexReader based on this index.
getReader() - Method in class it.unimi.dsi.mg4j.index.SkipIndex
Creates and returns a new IndexReader based on this index.
getReader(int) - Method in class it.unimi.dsi.mg4j.index.SkipIndex
Creates and returns a new IndexReader based on this index.
getToken(int) - Method in class it.unimi.dsi.mg4j.query.parser.QueryParser
 
getWeightLength() - Method in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Deprecated. As of mg4j 0.8, replaced by MinimalPerfectHash.weightLength().
getWindow() - Method in class it.unimi.dsi.mg4j.io.ArithmeticDecoder
Returns the current bit stream window.
golombModulus(double) - Static method in class it.unimi.dsi.mg4j.util.Fast
Computes the Golomb modulus for a given frequency using the formula Fast.GOLOMB_ADD + Fast.GOLOMB_MULT / p if p is smaller than Fast.GOLOMB_THRESHOLD, scanning Fast.GOLOMB_STEP otherwise.

H

HashCodeSignedMinimalPerfectHash - class it.unimi.dsi.mg4j.util.HashCodeSignedMinimalPerfectHash.
String.hashCode()-signed order-preserving minimal perfect hash tables.
HashCodeSignedMinimalPerfectHash(Collection, int) - Constructor for class it.unimi.dsi.mg4j.util.HashCodeSignedMinimalPerfectHash
Creates a new String.hashCode()-signed order-preserving minimal perfect hash table for the given set of words using the given number of weights.
HashCodeSignedMinimalPerfectHash(Collection) - Constructor for class it.unimi.dsi.mg4j.util.HashCodeSignedMinimalPerfectHash
Creates a new String.hashCode()-signed order-preserving minimal perfect hash table for the given set of words, using as many weights as the longest word in the collection.
HashCodeSignedMinimalPerfectHash(String, String, int) - Constructor for class it.unimi.dsi.mg4j.util.HashCodeSignedMinimalPerfectHash
Creates a new String.hashCode()-signed order-preserving minimal perfect hash table for the given file of words using the given number of weights.
HashCodeSignedMinimalPerfectHash(String) - Constructor for class it.unimi.dsi.mg4j.util.HashCodeSignedMinimalPerfectHash
Creates a new String.hashCode()-signed order-preserving minimal perfect hash table for the given file of words, using as many weights as the longest word in the file.
hasCounts - Variable in class it.unimi.dsi.mg4j.index.Index
Whether this index contains counts.
hasCounts - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
Whether this index contains counts.
hasNext() - Method in class it.unimi.dsi.mg4j.search.AbstractIntersectionDocumentIterator
 
hasNext() - Method in class it.unimi.dsi.mg4j.search.ConsecutiveDocumentIterator
 
hasNext() - Method in class it.unimi.dsi.mg4j.search.IntervalIterators.FakeIterator
 
hasNext() - Method in class it.unimi.dsi.mg4j.search.LowPassDocumentIterator
 
hasNext() - Method in class it.unimi.dsi.mg4j.search.NotDocumentIterator
 
hasNext() - Method in class it.unimi.dsi.mg4j.search.OrDocumentIterator
 
hasPositions - Variable in class it.unimi.dsi.mg4j.index.Index
Whether this index contains positions.
hasPositions - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
Whether this index contains positions.
hash(CharSequence, int[]) - Method in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Hashes a given term using the intermediate hash functions.
hash(CharSequence) - Method in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Deprecated. As of mg4j 1.0, replaced by MinimalPerfectHash.get(CharSequence).
hash(MutableString) - Method in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Deprecated. As of mg4j 1.0, replaced by MinimalPerfectHash.get(MutableString).
hashCode() - Method in class it.unimi.dsi.mg4j.search.Interval
 
hashCode() - Method in class it.unimi.dsi.mg4j.tool.Occurrence
 
hashCode() - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns a hash code for this mutable string.
hashCode() - Method in class it.unimi.dsi.mg4j.util.TextPattern
Returns a hash code for this text pattern.
hashLength - Variable in class it.unimi.dsi.mg4j.util.MutableString
This mutable string is compact iff this attribute is negative.
height - Variable in class it.unimi.dsi.mg4j.index.SkipIndex
The parameter h (the maximum height of a skip tower).

I

INDEXCLASS - Static variable in class it.unimi.dsi.mg4j.index.IndexProperties
The name of the Index class.
INTERP - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Interpolative coding (see InterpolativeCoding).
ISCASESENSITIVE - Static variable in class it.unimi.dsi.mg4j.index.IndexProperties
Whether the index is case sensitive.
Index - class it.unimi.dsi.mg4j.index.Index.
An abstract representation of an index.
Index(CharSequence, TermMap, boolean, ProgressMeter) - Constructor for class it.unimi.dsi.mg4j.index.Index
Creates a new index using the given basename.
Index(String, File, Properties, int, int, int, boolean, long, TermMap, LongList, IntList) - Constructor for class it.unimi.dsi.mg4j.index.Index
Creates a new index using the given data.
IndexIterator - interface it.unimi.dsi.mg4j.index.IndexIterator.
An iterator over an inverted list.
IndexProperties - class it.unimi.dsi.mg4j.index.IndexProperties.
This class provides symbolic names for properties of an index.
IndexProperties() - Constructor for class it.unimi.dsi.mg4j.index.IndexProperties
 
IndexReader - class it.unimi.dsi.mg4j.index.IndexReader.
Provides facilities to read directly an inverted index.
IndexReader(Index) - Constructor for class it.unimi.dsi.mg4j.index.IndexReader
Creates a new index reader, with the specified underlying Index and default buffer size.
IndexReader(Index, int) - Constructor for class it.unimi.dsi.mg4j.index.IndexReader
Creates a new index reader, with the specified underlying Index.
IndexReader(Index, InputBitStream) - Constructor for class it.unimi.dsi.mg4j.index.IndexReader
Creates a new index reader, with the specified underlying Index and input bit stream.
IndexReader(InputBitStream, LongList, IntList, int, long) - Constructor for class it.unimi.dsi.mg4j.index.IndexReader
Deprecated. Please use Index.getReader() or IndexReader.IndexReader(Index).
IndexReader(InputBitStream, LongList, int, long) - Constructor for class it.unimi.dsi.mg4j.index.IndexReader
Deprecated. Please use Index.getReader() or IndexReader.IndexReader(Index).
IndexReader(InputBitStream, int, long) - Constructor for class it.unimi.dsi.mg4j.index.IndexReader
Deprecated. Please use Index.getReader() or IndexReader.IndexReader(Index).
IndexWriter - class it.unimi.dsi.mg4j.index.IndexWriter.
Provides facilities to write an inverted index.
IndexWriter(CharSequence, int, boolean, long) - Constructor for class it.unimi.dsi.mg4j.index.IndexWriter
Creates a new index writer, with the specified basename.
IndexWriter(OutputBitStream, OutputBitStream, int, long) - Constructor for class it.unimi.dsi.mg4j.index.IndexWriter
Creates a new index writer, with the specified underlying OutputBitStream.
IndexWriter(OutputBitStream, int, int) - Constructor for class it.unimi.dsi.mg4j.index.IndexWriter
Creates a new index writer, with the specified underlying OutputBitStream, without an associated offset bit stream.
InputBitStream - class it.unimi.dsi.mg4j.io.InputBitStream.
Bit-level input stream.
InputBitStream() - Constructor for class it.unimi.dsi.mg4j.io.InputBitStream
This (non-public) constructor exists just to provide fake initialisation.
InputBitStream(InputStream) - Constructor for class it.unimi.dsi.mg4j.io.InputBitStream
Creates a new input bit stream wrapping a given input stream using a buffer of size InputBitStream.DEFAULT_BUFFER_SIZE.
InputBitStream(InputStream, int) - Constructor for class it.unimi.dsi.mg4j.io.InputBitStream
Creates a new input bit stream wrapping a given input stream with a specified buffer size.
InputBitStream(byte[]) - Constructor for class it.unimi.dsi.mg4j.io.InputBitStream
Creates a new input bit stream wrapping a given byte array.
InputBitStream(String, int) - Constructor for class it.unimi.dsi.mg4j.io.InputBitStream
Creates a new input bit stream reading from a file.
InputBitStream(String) - Constructor for class it.unimi.dsi.mg4j.io.InputBitStream
Creates a new input bit stream reading from a file.
InputBitStream(File) - Constructor for class it.unimi.dsi.mg4j.io.InputBitStream
Creates a new input bit stream reading from a file.
InputBitStream(File, int) - Constructor for class it.unimi.dsi.mg4j.io.InputBitStream
Creates a new input bit stream reading from a file.
InterpolativeCoding - class it.unimi.dsi.mg4j.io.InterpolativeCoding.
Static methods implementing interpolative coding.
Interval - class it.unimi.dsi.mg4j.search.Interval.
An integral interval.
IntervalIterator - interface it.unimi.dsi.mg4j.search.IntervalIterator.
An interface that allows one to iterate over intervals.
IntervalIterators - class it.unimi.dsi.mg4j.search.IntervalIterators.
A class providing static methods and objects that do useful things with interval iterators.
IntervalIterators.EmptyIntervalIterator - class it.unimi.dsi.mg4j.search.IntervalIterators.EmptyIntervalIterator.
An iterator returning no intervals.
IntervalIterators.EmptyIntervalIterator() - Constructor for class it.unimi.dsi.mg4j.search.IntervalIterators.EmptyIntervalIterator
 
IntervalIterators.FakeIterator - class it.unimi.dsi.mg4j.search.IntervalIterators.FakeIterator.
An iterator that throws an exception on all method calls, except for IntervalIterators.FakeIterator.hasNext(), which has a settable value.
Intervals - class it.unimi.dsi.mg4j.search.Intervals.
A class providing static methods and objects that do useful things with intervals.
ibs - Variable in class it.unimi.dsi.mg4j.index.IndexReader
The underlying input bit stream.
image - Variable in class it.unimi.dsi.mg4j.query.parser.Token
The string image of the token.
inBuf - Variable in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
index - Variable in class it.unimi.dsi.mg4j.index.IndexReader
The reference index.
indexFile - Variable in class it.unimi.dsi.mg4j.index.Index
The file containing the index.
indexOf(char) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the first occurrence of the specified character.
indexOf(char, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the first occurrence of the specified character, starting at the specified index.
indexOf(MutableString, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the first occurrence of the specified mutable string, starting at the specified index.
indexOf(MutableString) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the first occurrence of the specified mutable string.
indexOf(CharSequence, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the first occurrence of the specified character sequence, starting at the specified index.
indexOf(CharSequence) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the first occurrence of the specified character sequence.
indexOf(TextPattern, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the first occurrence of the specified text pattern, starting at the specified index.
indexOf(TextPattern) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the first occurrence of the specified text pattern, starting at the specified index.
indexOfAnyBut(CharSet, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the first occurrence of any character, except those specified, starting at the specified index.
indexOfAnyBut(CharSet) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the first occurrence of any character, except those specified.
indexOfAnyBut(char[], int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the first occurrence of any character, except those specified, starting at the specified index.
indexOfAnyBut(char[]) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the first occurrence of any character, except those specified.
indexOfAnyOf(CharSet, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the first occurrence of any of the specified characters, starting at the specified index.
indexOfAnyOf(CharSet) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the first occurrence of any of the specified characters.
indexOfAnyOf(char[], int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the first occurrence of any of the specified characters, starting at the specified index.
indexOfAnyOf(char[]) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the first occurrence of any of the specified characters.
indices() - Method in class it.unimi.dsi.mg4j.search.AbstractIntersectionDocumentIterator
 
indices() - Method in interface it.unimi.dsi.mg4j.search.DocumentIterator
Returns the set of indices over which this iterator is built.
indices() - Method in class it.unimi.dsi.mg4j.search.LowPassDocumentIterator
 
indices() - Method in class it.unimi.dsi.mg4j.search.NotDocumentIterator
 
indices() - Method in class it.unimi.dsi.mg4j.search.OrDocumentIterator
 
initSignatures(Collection) - Method in class it.unimi.dsi.mg4j.util.CRC32SignedMinimalPerfectHash
 
initSignatures(Collection) - Method in class it.unimi.dsi.mg4j.util.HashCodeSignedMinimalPerfectHash
 
initSignatures(Collection) - Method in class it.unimi.dsi.mg4j.util.LiterallySignedMinimalPerfectHash
 
initSignatures(Collection) - Method in class it.unimi.dsi.mg4j.util.SignedMinimalPerfectHash
Sets up the signature system from a collection.
inputStream - Variable in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
input_stream - Variable in class it.unimi.dsi.mg4j.query.parser.QueryParserTokenManager
 
insert(int, MutableString) - Method in class it.unimi.dsi.mg4j.util.MutableString
Inserts a mutable string in this mutable string, starting from index index.
insert(int, String) - Method in class it.unimi.dsi.mg4j.util.MutableString
Inserts a String in this mutable string, starting from index index.
insert(int, CharSequence) - Method in class it.unimi.dsi.mg4j.util.MutableString
Inserts a CharSequence in this mutable string, starting from index index.
insert(int, char[]) - Method in class it.unimi.dsi.mg4j.util.MutableString
Inserts characters in this mutable string.
insert(int, char[], int, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Inserts characters in this mutable string.
insert(int, boolean) - Method in class it.unimi.dsi.mg4j.util.MutableString
Inserts a boolean in this mutable string, starting from index index.
insert(int, char) - Method in class it.unimi.dsi.mg4j.util.MutableString
Inserts a char in this mutable string, starting from index index.
insert(int, double) - Method in class it.unimi.dsi.mg4j.util.MutableString
Inserts a double in this mutable string, starting from index index.
insert(int, float) - Method in class it.unimi.dsi.mg4j.util.MutableString
Inserts a float in this mutable string, starting from index index.
insert(int, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Inserts an int in this mutable string, starting from index index.
insert(int, long) - Method in class it.unimi.dsi.mg4j.util.MutableString
Inserts a long in this mutable string, starting from index index.
insert(int, Object) - Method in class it.unimi.dsi.mg4j.util.MutableString
Inserts the string representation of an object in this mutable string, starting from index index.
int2nat(int) - Static method in class it.unimi.dsi.mg4j.util.Fast
Maps integers bijectively into natural numbers.
interpretCommand(String) - Static method in class it.unimi.dsi.mg4j.query.Query
Interpret the given command, changing the static variables.
intervalIterator() - Method in class it.unimi.dsi.mg4j.search.AbstractIntersectionDocumentIterator
 
intervalIterator(Index) - Method in class it.unimi.dsi.mg4j.search.AbstractIntersectionDocumentIterator
 
intervalIterator() - Method in interface it.unimi.dsi.mg4j.search.DocumentIterator
Returns the interval iterator of this document iterator for single-index queries.
intervalIterator(Index) - Method in interface it.unimi.dsi.mg4j.search.DocumentIterator
Returns the interval iterator of this document iterator for the given index.
intervalIterator() - Method in class it.unimi.dsi.mg4j.search.LowPassDocumentIterator
 
intervalIterator(Index) - Method in class it.unimi.dsi.mg4j.search.LowPassDocumentIterator
 
intervalIterator() - Method in class it.unimi.dsi.mg4j.search.NotDocumentIterator
 
intervalIterator(Index) - Method in class it.unimi.dsi.mg4j.search.NotDocumentIterator
 
intervalIterator() - Method in class it.unimi.dsi.mg4j.search.OrDocumentIterator
 
intervalIterator(Index) - Method in class it.unimi.dsi.mg4j.search.OrDocumentIterator
 
intervalIterators() - Method in class it.unimi.dsi.mg4j.search.AbstractIntersectionDocumentIterator
 
intervalIterators() - Method in interface it.unimi.dsi.mg4j.search.DocumentIterator
Returns an unmodifiable map from indices to interval iterators.
intervalIterators() - Method in class it.unimi.dsi.mg4j.search.LowPassDocumentIterator
 
intervalIterators() - Method in class it.unimi.dsi.mg4j.search.NotDocumentIterator
 
intervalIterators() - Method in class it.unimi.dsi.mg4j.search.OrDocumentIterator
 
invalidate() - Method in class it.unimi.dsi.mg4j.search.AbstractIntersectionDocumentIterator
Invalidates the current document, and forces AbstractIntersectionDocumentIterator.hasNext() to find whether there is another one.
is - Variable in class it.unimi.dsi.mg4j.io.FastBufferedInputStream
The underlying input stream.
isCaseSensitive - Variable in class it.unimi.dsi.mg4j.index.Index
Whether this index is case sensitive.
isCompact() - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns whether this mutable string is compact (see the class description).
isEmpty() - Method in class it.unimi.dsi.mg4j.util.ScoredDocumentBoundedSizeQueue
 
isLoose() - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns whether this mutable string is loose (see the class description).
it - Variable in class it.unimi.dsi.mg4j.search.AbstractIntersectionDocumentIterator
The component document iterators.
it - Variable in class it.unimi.dsi.mg4j.search.OrDocumentIterator
The component iterators.
it.unimi.dsi.mg4j.index - package it.unimi.dsi.mg4j.index
Index generation and access.
it.unimi.dsi.mg4j.io - package it.unimi.dsi.mg4j.io
Bit-level I/O classes.
it.unimi.dsi.mg4j.query - package it.unimi.dsi.mg4j.query
Classes for handling queries.
it.unimi.dsi.mg4j.query.parser - package it.unimi.dsi.mg4j.query.parser
 
it.unimi.dsi.mg4j.search - package it.unimi.dsi.mg4j.search
Iterators over documents, and composition thereof.
it.unimi.dsi.mg4j.search.score - package it.unimi.dsi.mg4j.search.score
Classes for assigning scores to documents.
it.unimi.dsi.mg4j.tool - package it.unimi.dsi.mg4j.tool
Line-command tools for index construction.
it.unimi.dsi.mg4j.util - package it.unimi.dsi.mg4j.util
General-purpose utility classes.
itemsName(String) - Method in class it.unimi.dsi.mg4j.util.ProgressMeter
Sets the items name.
itemsName() - Method in class it.unimi.dsi.mg4j.util.ProgressMeter
Returns the current items name.

J

jjFillToken() - Method in class it.unimi.dsi.mg4j.query.parser.QueryParserTokenManager
 
jj_nt - Variable in class it.unimi.dsi.mg4j.query.parser.QueryParser
 
jjstrLiteralImages - Static variable in class it.unimi.dsi.mg4j.query.parser.QueryParserTokenManager
 
justAfterPointer() - Method in class it.unimi.dsi.mg4j.index.IndexReader
Returns true if the index is positioned just after a pointer.
justAfterPointer() - Method in class it.unimi.dsi.mg4j.index.SkipIndexReader
Returns true if we are positioned just after a pointer.

K

kind - Variable in class it.unimi.dsi.mg4j.query.parser.Token
An integer that describes the kind of this token.

L

LEFT_INTERVAL_COMPARATOR - Static variable in class it.unimi.dsi.mg4j.search.Intervals
A comparator between intervals, defined as follows: an interval [a, b] is less than [a', b'] iff a < a' or a=a' and b > b'.
LexicalError(boolean, int, int, int, String, char) - Static method in class it.unimi.dsi.mg4j.query.parser.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
LinearAggregator - class it.unimi.dsi.mg4j.search.score.LinearAggregator.
Merges a number of ScoredDocumentIterators, obtaining a new ScoredDocumentIterator.
LinearAggregator(boolean[], double[]) - Constructor for class it.unimi.dsi.mg4j.search.score.LinearAggregator
Creates a linear aggregator.
LiterallySignedMinimalPerfectHash - class it.unimi.dsi.mg4j.util.LiterallySignedMinimalPerfectHash.
Literally signed order-preserving minimal perfect hash tables.
LiterallySignedMinimalPerfectHash(Collection, int) - Constructor for class it.unimi.dsi.mg4j.util.LiterallySignedMinimalPerfectHash
Creates a new literally signed order-preserving minimal perfect hash table for the given set of words using the given number of weights.
LiterallySignedMinimalPerfectHash(Collection) - Constructor for class it.unimi.dsi.mg4j.util.LiterallySignedMinimalPerfectHash
Creates a new literally signed order-preserving minimal perfect hash table for the given set of words, using as many weights as the longest word in the collection.
LiterallySignedMinimalPerfectHash(String, String, int) - Constructor for class it.unimi.dsi.mg4j.util.LiterallySignedMinimalPerfectHash
Creates a new literally signed order-preserving minimal perfect hash table for the given file of words using the given number of weights.
LiterallySignedMinimalPerfectHash(String) - Constructor for class it.unimi.dsi.mg4j.util.LiterallySignedMinimalPerfectHash
Creates a new literally signed order-preserving minimal perfect hash table for the given file of words, using as many weights as the longest word in the file.
LowPassDocumentIterator - class it.unimi.dsi.mg4j.search.LowPassDocumentIterator.
A document iterator that filters another document iterator, returning just intervals (and containing documents) whose length does not exceed a given threshold.
LowPassDocumentIterator(DocumentIterator, int) - Constructor for class it.unimi.dsi.mg4j.search.LowPassDocumentIterator
Creates a new low-pass document iterator over a given iterator.
lastChar() - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the last character of this mutable string.
lastDocument - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The last document pointer in the current list.
lastIndexOf(char) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the last occurrence of the specified character.
lastIndexOf(char, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the last occurrence of the specified character, searching backward starting at the specified index.
lastIndexOf(MutableString, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the last occurrence of the specified mutable string, searching backward starting at the specified index.
lastIndexOf(MutableString) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the last occurrence of the specified mutable string.
lastIndexOf(CharSequence, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the last occurrence of the specified character sequence, searching backward starting at the specified index.
lastIndexOf(CharSequence) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the last occurrence of the specified character sequence.
lastIndexOfAnyBut(CharSet, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the last occurrence of any character, except those specified, starting at the specified index.
lastIndexOfAnyBut(CharSet) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the last occurrence of any character, except those specified.
lastIndexOfAnyBut(char[], int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the last occurrence of any character, except those specified, starting at the specified index.
lastIndexOfAnyBut(char[]) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the last occurrence of any character, except those specified.
lastIndexOfAnyOf(CharSet, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the last occurrence of any of the specified characters, searching backwards starting at the specified index.
lastIndexOfAnyOf(CharSet) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the last occurrence of any of the specified characters.
lastIndexOfAnyOf(char[], int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the last occurrence of any of the specified characters, searching backwards starting at the specified index.
lastIndexOfAnyOf(char[]) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the index of the last occurrence of any of the specified characters.
leastSignificantBit(int) - Static method in class it.unimi.dsi.mg4j.util.Fast
Computes the least significant bit of an integer.
leastSignificantBit(long) - Static method in class it.unimi.dsi.mg4j.util.Fast
Computes the least significant bit of a long integer.
left - Variable in class it.unimi.dsi.mg4j.search.Interval
The left extreme of the interval.
length - Variable in class it.unimi.dsi.mg4j.io.FastByteArrayInputStream
The number of valid bytes in FastByteArrayInputStream.array starting from FastByteArrayInputStream.offset.
length - Variable in class it.unimi.dsi.mg4j.io.FastByteArrayOutputStream
The number of valid bytes in FastByteArrayOutputStream.array.
length - Variable in class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
The number of valid bytes in FastMultiByteArrayInputStream.array.
length() - Method in class it.unimi.dsi.mg4j.search.Interval
Returns the interval length, that is, the number of integers contained in the interval.
length() - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns the number of characters in this mutable string.
length(int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Sets the length.
length() - Method in class it.unimi.dsi.mg4j.util.TextPattern
 
lexStateNames - Static variable in class it.unimi.dsi.mg4j.query.parser.QueryParserTokenManager
 
line - Variable in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
loadInts(String) - Static method in class it.unimi.dsi.mg4j.util.Fast
Loads a list of integers from a data-input file stream.
loadInts(String, ProgressMeter) - Static method in class it.unimi.dsi.mg4j.util.Fast
Loads a list of integers from a data-input file stream.
loadObject(String) - Static method in class it.unimi.dsi.mg4j.util.Fast
Loads an object from a given file.
loadTermMap(String) - Static method in class it.unimi.dsi.mg4j.index.Index
Utility static method that loads a term map.
log2b - Variable in class it.unimi.dsi.mg4j.index.IndexReader
The parameter log2b for Golomb coding of pointers; it is the most significant bit of IndexReader.b.
log2b - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The parameter log2b for Golomb coding of pointers; it is the most significant bit of IndexWriter.b.
lookingAhead - Variable in class it.unimi.dsi.mg4j.query.parser.QueryParser
 
loose() - Method in class it.unimi.dsi.mg4j.util.MutableString
Makes this mutable string loose.

M

MAXDOCPOS - Static variable in class it.unimi.dsi.mg4j.index.IndexProperties
The maximum number of positions with a document record.
MiddlePass - class it.unimi.dsi.mg4j.tool.MiddlePass.
Permutes a set of batches and related files so that the resulting index has lexicographically ordered terms.
MinimalPerfectHash - class it.unimi.dsi.mg4j.util.MinimalPerfectHash.
Order-preserving minimal perfect hash tables.
MinimalPerfectHash(Collection) - Constructor for class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Creates a new order-preserving minimal perfect hash table for the given set of terms, using as many weights as the longest term in the collection.
MinimalPerfectHash(Collection, int) - Constructor for class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Creates a new order-preserving minimal perfect hash table for the given set of terms using the given number of weights.
MinimalPerfectHash(String, String, int) - Constructor for class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Creates a new order-preserving minimal perfect hash table for the given file of terms using the given number of weights.
MinimalPerfectHash(String) - Constructor for class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Creates a new order-preserving minimal perfect hash table for the given file of terms, using as many weights as the longest term in the file.
MutableString - class it.unimi.dsi.mg4j.util.MutableString.
Fast, compact, optimised & versatile mutable strings.
MutableString() - Constructor for class it.unimi.dsi.mg4j.util.MutableString
Creates a new loose empty mutable string with capacity 2.
MutableString(int) - Constructor for class it.unimi.dsi.mg4j.util.MutableString
Creates a new loose empty mutable string with given capacity.
MutableString(MutableString) - Constructor for class it.unimi.dsi.mg4j.util.MutableString
Creates a new compact mutable string copying a given mutable string.
MutableString(String) - Constructor for class it.unimi.dsi.mg4j.util.MutableString
Creates a new compact mutable string copying a given String.
MutableString(CharSequence) - Constructor for class it.unimi.dsi.mg4j.util.MutableString
Creates a new compact mutable string copying a given CharSequence.
MutableString(char[]) - Constructor for class it.unimi.dsi.mg4j.util.MutableString
Creates a new compact mutable string copying a given character array.
MutableString(char[], int, int) - Constructor for class it.unimi.dsi.mg4j.util.MutableString
Creates a new compact mutable string copying a part of a given character array.
m - Variable in class it.unimi.dsi.mg4j.util.BloomFilter
The number of bits in this filter.
m - Variable in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
The number of vertices of the intermediate hypergraph.
main(String[]) - Static method in class it.unimi.dsi.mg4j.index.Index
 
main(String[]) - Static method in class it.unimi.dsi.mg4j.query.Query
The main method.
main(String[]) - Static method in class it.unimi.dsi.mg4j.tool.FirstPass
 
main(String[]) - Static method in class it.unimi.dsi.mg4j.tool.MiddlePass
 
main(String[]) - Static method in class it.unimi.dsi.mg4j.tool.SecondPass
 
main(String[]) - Static method in class it.unimi.dsi.mg4j.tool.ZerothPass
 
main(String[]) - Static method in class it.unimi.dsi.mg4j.util.FrontCodedStringList
 
main(String[]) - Static method in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
 
main(String[]) - Static method in class it.unimi.dsi.mg4j.util.PermutedFrontCodedStringList
 
main(String[]) - Static method in class it.unimi.dsi.mg4j.util.ProgressMeter
 
mark(int) - Method in class it.unimi.dsi.mg4j.io.FastByteArrayInputStream
 
mark(int) - Method in class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
 
mark(int) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Marks the current position in this input stream.
markSupported() - Method in class it.unimi.dsi.mg4j.io.FastByteArrayInputStream
 
markSupported() - Method in class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
 
markSupported() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Tests if this stream supports the InputBitStream.mark(int) and InputBitStream.reset() methods.
maxDocPos - Variable in class it.unimi.dsi.mg4j.index.Index
The maximum number of positions in an position list, or -1 if it is not known.
maxDocPos - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The maximum number of positions in a document record so far.
maxNextCharInd - Variable in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
millis() - Method in class it.unimi.dsi.mg4j.util.ProgressMeter
Returns the number of milliseconds between present time and the last call to 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.
mostSignificantBit(int) - Static method in class it.unimi.dsi.mg4j.util.Fast
Computes the most significant bit of an integer.
mostSignificantBit(long) - Static method in class it.unimi.dsi.mg4j.util.Fast
Computes the most significant bit of a long integer.

N

NIBBLE - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Variable-length nibble coding (see OutputBitStream.writeNibble(int)).
NONE - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
A special value used to denote absence of a feature.
NOT - Static variable in interface it.unimi.dsi.mg4j.query.parser.QueryParserConstants
 
NO_COUNTS - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: do not write counts (and thus, a fortiori, positions).
NO_POSITIONS - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: do not write positions.
NUMBER_OF_WEIGHTS - Static variable in class it.unimi.dsi.mg4j.util.BloomFilter
The number of weights used to create hash functions.
NotDocumentIterator - class it.unimi.dsi.mg4j.search.NotDocumentIterator.
A document iterator that returns documents not returned by its underlying iterator, and returns just IntervalIterators.TRUE on all interval iterators.
NotDocumentIterator(DocumentIterator, int) - Constructor for class it.unimi.dsi.mg4j.search.NotDocumentIterator
Creates a new low-pass document iterator over a given iterator.
NullInputStream - class it.unimi.dsi.mg4j.io.NullInputStream.
End-of-stream-only input stream.
NullOutputStream - class it.unimi.dsi.mg4j.io.NullOutputStream.
Throw-it-away output stream.
n - Variable in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
The number of buckets.
n4 - Variable in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Four times the number of buckets.
nat2int(int) - Static method in class it.unimi.dsi.mg4j.util.Fast
Maps natural numbers bijectively into integers.
newDocumentRecord() - Method in class it.unimi.dsi.mg4j.index.IndexWriter
Starts a new document record.
newDocumentRecord(int) - Method in class it.unimi.dsi.mg4j.index.IndexWriter
Deprecated. Use IndexWriter.newDocumentRecord() followed by IndexWriter.writeDocumentPointer(OutputBitStream, int).
newDocumentRecord() - Method in class it.unimi.dsi.mg4j.index.SkipIndexWriter
 
newDocumentRecord(int) - Method in class it.unimi.dsi.mg4j.index.SkipIndexWriter
Deprecated. Use SkipIndexWriter.newDocumentRecord() followed by SkipIndexWriter.writeDocumentPointer(OutputBitStream, int).
newInvertedList() - Method in class it.unimi.dsi.mg4j.index.IndexWriter
Starts a new inverted list.
newInvertedList(int) - Method in class it.unimi.dsi.mg4j.index.IndexWriter
Deprecated. Use IndexWriter.newInvertedList() followed by IndexWriter.writeFrequency(int).
newInvertedList() - Method in class it.unimi.dsi.mg4j.index.SkipIndexWriter
 
newInvertedList(int) - Method in class it.unimi.dsi.mg4j.index.SkipIndexWriter
Deprecated. Use SkipIndexWriter.newInvertedList() followed by SkipIndexWriter.writeFrequency(int).
newToken(int) - Static method in class it.unimi.dsi.mg4j.query.parser.Token
Returns a new Token object, by default.
next - Variable in class it.unimi.dsi.mg4j.query.parser.Token
A reference to the next regular (non-special) token from the input stream.
next() - Method in class it.unimi.dsi.mg4j.search.IntervalIterators.FakeIterator
 
nextDocument() - Method in class it.unimi.dsi.mg4j.search.AbstractIntersectionDocumentIterator
 
nextDocument() - Method in interface it.unimi.dsi.mg4j.search.DocumentIterator
A synonym for IntIterator.nextInt().
nextDocument() - Method in class it.unimi.dsi.mg4j.search.LowPassDocumentIterator
 
nextDocument() - Method in class it.unimi.dsi.mg4j.search.NotDocumentIterator
 
nextDocument() - Method in class it.unimi.dsi.mg4j.search.OrDocumentIterator
 
nextInt() - Method in class it.unimi.dsi.mg4j.search.AbstractIntersectionDocumentIterator
 
nextInt() - Method in class it.unimi.dsi.mg4j.search.LowPassDocumentIterator
 
nextInt() - Method in class it.unimi.dsi.mg4j.search.NotDocumentIterator
 
nextInt() - Method in class it.unimi.dsi.mg4j.search.OrDocumentIterator
 
nextInterval() - Method in interface it.unimi.dsi.mg4j.search.IntervalIterator
Returns the next interval in the sequence.
nextInterval() - Method in class it.unimi.dsi.mg4j.search.IntervalIterators.EmptyIntervalIterator
 
nextInterval() - Method in class it.unimi.dsi.mg4j.search.IntervalIterators.FakeIterator
 
numberOfBlocks - Variable in class it.unimi.dsi.mg4j.index.SkipIndexWriter
The number of written blocks.
numberOfDocumentRecord - Variable in class it.unimi.dsi.mg4j.index.IndexReader
The number of the document record we are going to read inside the current inverted list.
numberOfDocuments - Variable in class it.unimi.dsi.mg4j.index.Index
The number of documents of the collection.
numberOfDocuments - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The number of documents of the collection to be indexed.
numberOfLowerEntries() - Method in class it.unimi.dsi.mg4j.index.SkipIndexWriter.TowerData
Returns the number of lower entries, that is, the number of entries minus the number of towers.
numberOfSkipEntries - Variable in class it.unimi.dsi.mg4j.index.SkipIndexWriter.TowerData
The number of written skip entries.
numberOfSkipTowers - Variable in class it.unimi.dsi.mg4j.index.SkipIndexWriter.TowerData
The number of written skip towers.
numberOfTerms - Variable in class it.unimi.dsi.mg4j.index.Index
The number of terms of the collection.

O

OPEN_PAREN - Static variable in interface it.unimi.dsi.mg4j.query.parser.QueryParserConstants
 
OR - Static variable in interface it.unimi.dsi.mg4j.query.parser.QueryParserConstants
 
Occurrence - class it.unimi.dsi.mg4j.tool.Occurrence.
A class denoting an occurrence.
Occurrence() - Constructor for class it.unimi.dsi.mg4j.tool.Occurrence
Creates a new occurrence with all fields initialised to zero.
Occurrence(int, int, int) - Constructor for class it.unimi.dsi.mg4j.tool.Occurrence
Creates a new occurrence with given indices.
OrDocumentIterator - class it.unimi.dsi.mg4j.search.OrDocumentIterator.
A document iterator that ORs given component iterators.
OrDocumentIterator(DocumentIterator[]) - Constructor for class it.unimi.dsi.mg4j.search.OrDocumentIterator
Creates a new union iterator using a given array of iterators.
OutputBitStream - class it.unimi.dsi.mg4j.io.OutputBitStream.
Bit-level output stream.
OutputBitStream() - Constructor for class it.unimi.dsi.mg4j.io.OutputBitStream
This (non-public) constructor exists just to provide fake initialisation for classes such as DebugOutputBitStream.
OutputBitStream(OutputStream) - Constructor for class it.unimi.dsi.mg4j.io.OutputBitStream
Creates a new output bit stream wrapping a given output stream using a buffer of size OutputBitStream.DEFAULT_BUFFER_SIZE.
OutputBitStream(OutputStream, int) - Constructor for class it.unimi.dsi.mg4j.io.OutputBitStream
Creates a new output bit stream wrapping a given output stream with a specified buffer size.
OutputBitStream(byte[]) - Constructor for class it.unimi.dsi.mg4j.io.OutputBitStream
Creates a new output bit stream wrapping a given byte array.
OutputBitStream(String, int) - Constructor for class it.unimi.dsi.mg4j.io.OutputBitStream
Creates a new output bit stream writing to file.
OutputBitStream(String) - Constructor for class it.unimi.dsi.mg4j.io.OutputBitStream
Creates a new output bit stream writing to a file.
OutputBitStream(File, int) - Constructor for class it.unimi.dsi.mg4j.io.OutputBitStream
Creates a new output bit stream writing to file.
OutputBitStream(File) - Constructor for class it.unimi.dsi.mg4j.io.OutputBitStream
Creates a new output bit stream writing to a file.
objectListIterator(int) - Method in class it.unimi.dsi.mg4j.util.FrontCodedStringList
 
objectListIterator(int) - Method in class it.unimi.dsi.mg4j.util.PermutedFrontCodedStringList
 
obs - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The underlying OutputBitStream.
offset - Variable in class it.unimi.dsi.mg4j.io.FastByteArrayInputStream
The first valid entry.
offsets - Variable in class it.unimi.dsi.mg4j.index.Index
The offset of each term, if offsets were loaded or specified at creation time, or null.
os - Variable in class it.unimi.dsi.mg4j.io.FastBufferedOutputStream
The underlying output stream.
out - Variable in class it.unimi.dsi.mg4j.util.ProgressMeter
The output print stream.
overflow(boolean) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Sets the overflow flag.
overflow() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Gets the overflow flag.

P

POINTERS_DEFAULT - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: default value for pointer coding (Golomb).
POINTERS_DELTA - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: write document pointers using δ coding.
POINTERS_GAMMA - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: write document pointers using γ coding.
POINTERS_GOLOMB - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: write document pointers using Golomb coding with parameter Fast.golombModulus(freq/N) (default).
POINTERS_SHIFT - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
The mask shift for pointer coding.
POSITIONS_ARITH - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: write positions in a document using arithmetic coding.
POSITIONS_DEFAULT - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: default value for position coding (Golomb).
POSITIONS_DELTA - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: write positions in a document using δ coding.
POSITIONS_GAMMA - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: write positions in a document using γ coding.
POSITIONS_GOLOMB - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: write positions in a document using Golomb coding with parameter Fast.golombModulus(count/docSize) (default).
POSITIONS_INTERP - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: write positions in a document using interpolative coding.
POSITIONS_SHIFT - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
The mask shift for position coding.
POSITIONS_SKEWED_GOLOMB - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Flag: write positions in a document using skewed Golomb coding with parameter Fast.golombModulus(median/docSize).
ParseException - exception it.unimi.dsi.mg4j.query.parser.ParseException.
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for class it.unimi.dsi.mg4j.query.parser.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for class it.unimi.dsi.mg4j.query.parser.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for class it.unimi.dsi.mg4j.query.parser.ParseException
 
PermutedFrontCodedStringList - class it.unimi.dsi.mg4j.util.PermutedFrontCodedStringList.
A FrontCodedStringList whose indices are permuted.
PermutedFrontCodedStringList(FrontCodedStringList, int[]) - Constructor for class it.unimi.dsi.mg4j.util.PermutedFrontCodedStringList
Creates a new permuted front-coded string list using a given front-coded string list and permutation.
ProgressMeter - class it.unimi.dsi.mg4j.util.ProgressMeter.
Tunable progress meter.
ProgressMeter() - Constructor for class it.unimi.dsi.mg4j.util.ProgressMeter
Creates a new progress meter with a quantum equal to one, printing on standard error.
ProgressMeter(int) - Constructor for class it.unimi.dsi.mg4j.util.ProgressMeter
Creates a new progress meter with given quantum, printing on standard error.
ProgressMeter(int, String) - Constructor for class it.unimi.dsi.mg4j.util.ProgressMeter
Creates a new progress meter with given quantum, printing on standard error.
ProgressMeter(int, String, PrintStream) - Constructor for class it.unimi.dsi.mg4j.util.ProgressMeter
Creates a new progress meter with given quantum, printing on a given stream.
parse(String) - Method in class it.unimi.dsi.mg4j.query.parser.QueryParser
Parses the given query, returning the corresponding query result.
parseIntSize(CharSequence) - Static method in class it.unimi.dsi.mg4j.util.Fast
Parses a size specified using units (e.g., K, Ki, M, Mi,…), ensuring that the results fits an integer.
parseSize(CharSequence) - Static method in class it.unimi.dsi.mg4j.util.Fast
Parses a size specified using units (e.g., K, Ki, M, Mi,…).
pastEOF() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Checks whether we are past EOF.
pattern - Variable in class it.unimi.dsi.mg4j.util.TextPattern
The pattern backing array.
permutation - Variable in class it.unimi.dsi.mg4j.util.PermutedFrontCodedStringList
The permutation.
pointerCoding - Variable in class it.unimi.dsi.mg4j.index.Index
The coding for pointers.
pointerCoding - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The coding for pointers.
pos - Variable in class it.unimi.dsi.mg4j.io.FastBufferedInputStream
The current position in the buffer.
pos - Variable in class it.unimi.dsi.mg4j.io.FastBufferedOutputStream
The current position in the buffer.
pos - Variable in class it.unimi.dsi.mg4j.io.FastBufferedReader
The current position in the buffer.
position(int) - Method in class it.unimi.dsi.mg4j.index.IndexReader
Positions the index on the inverted list of a given term.
position(long) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
position(long) - Method in class it.unimi.dsi.mg4j.io.FastBufferedInputStream
 
position() - Method in class it.unimi.dsi.mg4j.io.FastBufferedInputStream
 
position() - Method in class it.unimi.dsi.mg4j.io.FastByteArrayInputStream
 
position(long) - Method in class it.unimi.dsi.mg4j.io.FastByteArrayInputStream
 
position() - Method in class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
 
position(long) - Method in class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
 
position(long) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Sets this stream bit position, if it is based on a RepositionableStream or on a FileChannel.
position(long) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Sets this stream bit position, if it is based on a RepositionableStream or on a FileChannel.
position(long) - Method in interface it.unimi.dsi.mg4j.io.RepositionableStream
Sets the current stream position.
position() - Method in interface it.unimi.dsi.mg4j.io.RepositionableStream
Returns the current stream position.
positionArray() - Method in interface it.unimi.dsi.mg4j.index.IndexIterator
Returns the positions at which the term appears in the current document in an array.
positionCoding - Variable in class it.unimi.dsi.mg4j.index.Index
The coding for positions.
positions() - Method in interface it.unimi.dsi.mg4j.index.IndexIterator
Returns the positions at which the term appears in the current document.
positions(int[]) - Method in interface it.unimi.dsi.mg4j.index.IndexIterator
Stores the positions at which the term appears in the current document in a given array.
prevCharIsCR - Variable in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
prevCharIsLF - Variable in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
prevEntryBitLength - Variable in class it.unimi.dsi.mg4j.index.SkipIndexWriter
An estimate on the number of bits occupied per tower entry in the last written cache, or -1 if no cache has been written for the current inverted list.
prevQuantumBitLength - Variable in class it.unimi.dsi.mg4j.index.SkipIndexWriter
An estimate on the number of bits occupied per quantum in the last written cache, or -1 if no cache has been written for the current inverted list.
print(PrintWriter) - Method in class it.unimi.dsi.mg4j.util.MutableString
Prints this mutable string to a PrintWriter.
print(PrintStream) - Method in class it.unimi.dsi.mg4j.util.MutableString
Prints this mutable string to a PrintStream.
println(PrintWriter) - Method in class it.unimi.dsi.mg4j.util.MutableString
Prints this mutable string to a PrintWriter and then terminates the line.
println(PrintStream) - Method in class it.unimi.dsi.mg4j.util.MutableString
Prints this mutable string to a PrintStream and then terminates the line.
properties - Variable in class it.unimi.dsi.mg4j.index.Index
The properties of this index.
properties() - Method in class it.unimi.dsi.mg4j.index.IndexWriter
This method should only be called after IndexWriter.close().
properties() - Method in class it.unimi.dsi.mg4j.index.SkipIndexWriter
 

Q

QUOTE - Static variable in interface it.unimi.dsi.mg4j.query.parser.QueryParserConstants
 
Query - class it.unimi.dsi.mg4j.query.Query.
A command-line interpreter to query indices.
QueryParser - class it.unimi.dsi.mg4j.query.parser.QueryParser.
This class is used to parse queries.
QueryParser(Map, String) - Constructor for class it.unimi.dsi.mg4j.query.parser.QueryParser
Creates a query parser.
QueryParser(Index) - Constructor for class it.unimi.dsi.mg4j.query.parser.QueryParser
Creates a query parser for a single index.
QueryParser(InputStream) - Constructor for class it.unimi.dsi.mg4j.query.parser.QueryParser
 
QueryParser(Reader) - Constructor for class it.unimi.dsi.mg4j.query.parser.QueryParser
 
QueryParser(QueryParserTokenManager) - Constructor for class it.unimi.dsi.mg4j.query.parser.QueryParser
 
QueryParserConstants - interface it.unimi.dsi.mg4j.query.parser.QueryParserConstants.
 
QueryParserTokenManager - class it.unimi.dsi.mg4j.query.parser.QueryParserTokenManager.
 
QueryParserTokenManager(SimpleCharStream) - Constructor for class it.unimi.dsi.mg4j.query.parser.QueryParserTokenManager
 
QueryParserTokenManager(SimpleCharStream, int) - Constructor for class it.unimi.dsi.mg4j.query.parser.QueryParserTokenManager
 
quantum - Variable in class it.unimi.dsi.mg4j.index.SkipIndex
The quantum.
quantum(int) - Method in class it.unimi.dsi.mg4j.util.ProgressMeter
Sets the quantum.
quantum() - Method in class it.unimi.dsi.mg4j.util.ProgressMeter
Returns the current quantum.
query(String, boolean) - Method in class it.unimi.dsi.mg4j.query.parser.QueryParser
Starting rule for a OR-query.
quotedQuery(String, boolean) - Method in class it.unimi.dsi.mg4j.query.parser.QueryParser
Starting rule for a quoted query.

R

RIGHT_INTERVAL_COMPARATOR - Static variable in class it.unimi.dsi.mg4j.search.Intervals
A comparator between intervals, defined as follows: an interval [a, b] is less than [a', b'] if b > b'; otherwise, [a, b] is greater than [a', b'], unless they are equal.
ReInit(InputStream) - Method in class it.unimi.dsi.mg4j.query.parser.QueryParser
 
ReInit(Reader) - Method in class it.unimi.dsi.mg4j.query.parser.QueryParser
 
ReInit(QueryParserTokenManager) - Method in class it.unimi.dsi.mg4j.query.parser.QueryParser
 
ReInit(SimpleCharStream) - Method in class it.unimi.dsi.mg4j.query.parser.QueryParserTokenManager
 
ReInit(SimpleCharStream, int) - Method in class it.unimi.dsi.mg4j.query.parser.QueryParserTokenManager
 
ReInit(Reader, int, int, int) - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
ReInit(Reader, int, int) - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
ReInit(Reader) - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
ReInit(InputStream, int, int, int) - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
ReInit(InputStream) - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
ReInit(InputStream, int, int) - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
RepositionableStream - interface it.unimi.dsi.mg4j.io.RepositionableStream.
A basic interface specifying positioning methods for a byte stream.
r - Variable in class it.unimi.dsi.mg4j.io.FastBufferedReader
The underlying reader.
ratio() - Method in class it.unimi.dsi.mg4j.util.FrontCodedStringList
Returns the ratio of the underlying front-coded list.
read() - Method in class it.unimi.dsi.mg4j.io.FastBufferedInputStream
 
read(byte[], int, int) - Method in class it.unimi.dsi.mg4j.io.FastBufferedInputStream
 
read() - Method in class it.unimi.dsi.mg4j.io.FastBufferedReader
 
read(char[], int, int) - Method in class it.unimi.dsi.mg4j.io.FastBufferedReader
 
read() - Method in class it.unimi.dsi.mg4j.io.FastByteArrayInputStream
 
read(byte[], int, int) - Method in class it.unimi.dsi.mg4j.io.FastByteArrayInputStream
 
read() - Method in class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
 
read(byte[], int, int) - Method in class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
 
read(byte[], int) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a sequence of bits.
read(InputBitStream, int[], int, int, int, int) - Static method in class it.unimi.dsi.mg4j.io.InterpolativeCoding
Reads from a bit stream an increasing sequence of integers coded using interpolative coding.
read() - Method in class it.unimi.dsi.mg4j.io.NullInputStream
 
read(Reader, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Reads a mutable string that has been written by MutableString.write(Writer) from a Reader.
readBit() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a bit.
readBits() - Method in class it.unimi.dsi.mg4j.index.IndexReader
Returns the number of bits read from the last call to IndexReader.position(int).
readBits() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Returns the number of bits read from this bit stream.
readBits(long) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Sets the number of bits read from this bit stream.
readChar() - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
readDelta() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a natural number in δ coding.
readDocumentPointer() - Method in class it.unimi.dsi.mg4j.index.IndexReader
Reads a document pointer from a given InputBitStream.
readDocumentPointer() - Method in class it.unimi.dsi.mg4j.index.SkipIndexReader
 
readDocumentPositions(int[]) - Method in class it.unimi.dsi.mg4j.index.IndexReader
Reads the positions of the occurrences of the current term in the current document.
readFrequency() - Method in class it.unimi.dsi.mg4j.index.IndexReader
Reads and returns the frequency (number of documents where the term appears).
readFrequency() - Method in class it.unimi.dsi.mg4j.index.SkipIndexReader
 
readGamma() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a natural number in γ coding.
readGolomb(int) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a natural number in Golomb coding.
readGolomb(int, int) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a natural number in Golomb coding.
readInt(int) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a fixed number of bits into an integer.
readLine(MutableString) - Method in class it.unimi.dsi.mg4j.io.FastBufferedReader
Reads a line into the given mutable string.
readLong(int) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a fixed number of bits into a long.
readLongDelta() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a long natural number in δ coding.
readLongGamma() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a long natural number in γ coding.
readLongGolomb(long) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a long natural number in Golomb coding.
readLongGolomb(long, int) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a long natural number in Golomb coding.
readLongMinimalBinary(long) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a long natural number in a limited range using a minimal binary coding.
readLongMinimalBinary(long, int) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a long natural number in a limited range using a minimal binary coding.
readLongNibble() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a long natural number in variable-length nibble coding.
readLongSkewedGolomb(long) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a long natural number in skewed Golomb coding.
readLongUnary() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a long natural number in unary coding.
readLongZeta(int) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a long natural number in ζ coding.
readMinimalBinary(int) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a natural number in a limited range using a minimal binary coding.
readMinimalBinary(int, int) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a natural number in a limited range using a minimal binary coding.
readNibble() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a natural number in variable-length nibble coding.
readOccurrences(Occurrence[], int, InputBitStream) - Static method in class it.unimi.dsi.mg4j.tool.Occurrence
Reads a compressed stream of occurrences into a vector.
readOffsets(InputBitStream, int, ProgressMeter) - Static method in class it.unimi.dsi.mg4j.index.Index
Utility method to load a compressed offset file into a list.
readPositionCount() - Method in class it.unimi.dsi.mg4j.index.IndexReader
Reads the position count for the current document.
readPositionCount() - Method in class it.unimi.dsi.mg4j.index.SkipIndexReader
 
readSelfDelimUTF8(DataInput) - Method in class it.unimi.dsi.mg4j.util.MutableString
Reads a mutable string that has been written by writeSelfDelimUTF8() from a DataInput.
readSizes(InputBitStream, int, ProgressMeter) - Static method in class it.unimi.dsi.mg4j.index.Index
Utility method to load a compressed size file into a list.
readSkewedGolomb(int) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a natural number in skewed Golomb coding.
readUTF8(DataInput, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Reads a mutable string in UTF-8 encoding.
readUnary() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a natural number in unary coding.
readWord(MutableString) - Method in class it.unimi.dsi.mg4j.io.FastBufferedReader
Reads a word into the given mutable string.
readZeta(int) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Reads a natural number in ζ coding.
relativeFrequency - Variable in class it.unimi.dsi.mg4j.index.IndexReader
The number of document records that the current inverted list will contain, divided by the number of documents.
relativeFrequency - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The number of document records that the current inverted list will contain, divided by the number of documents.
replace(int, int, MutableString) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces the characters with indices ranging from start (inclusive) to end (exclusive) with the given mutable string.
replace(int, int, String) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces the characters with indices ranging from start (inclusive) to end (exclusive) with the given String.
replace(int, int, CharSequence) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces the characters with indices ranging from start (inclusive) to end (exclusive) with the given CharSequence.
replace(int, int, char) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces the characters with indices ranging from start (inclusive) to end (exclusive) with the given character.
replace(MutableString) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces the content of this mutable string with the given mutable string.
replace(String) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces the content of this mutable string with the given string.
replace(CharSequence) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces the content of this mutable string with the given character sequence.
replace(char) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces the content of this mutable string with the given character.
replace(char[], MutableString[]) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces each occurrence of a set of characters with a corresponding mutable string.
replace(char[], String[]) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces each occurrence of a set of characters with a corresponding string.
replace(char[], CharSequence[]) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces each occurrence of a set of characters with a corresponding character sequence.
replace(char[], char[]) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces each occurrence of a set characters with a corresponding character.
replace(char, MutableString) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces each occurrence of a character with a corresponding mutable string.
replace(char, String) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces each occurrence of a character with a corresponding string.
replace(char, CharSequence) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces each occurrence of a character with a corresponding character sequence.
replace(char, char) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces each occurrence of a character with a corresponding character.
replace(MutableString, MutableString) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces each occurrence of a mutable string with a corresponding mutable string.
replace(String, String) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces each occurrence of a string with a corresponding string.
replace(CharSequence, CharSequence) - Method in class it.unimi.dsi.mg4j.util.MutableString
Replaces each occurrence of a character sequence with a corresponding character sequence.
reset() - Method in class it.unimi.dsi.mg4j.io.FastByteArrayInputStream
 
reset() - Method in class it.unimi.dsi.mg4j.io.FastByteArrayOutputStream
Marks this array output stream as empty.
reset() - Method in class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
 
reset() - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Repositions this bit stream to the position at the time the InputBitStream.mark(int) method was last called.
reset() - Method in interface it.unimi.dsi.mg4j.search.IntervalIterator
Resets the internal state of this iterator for a new document.
reset() - Method in class it.unimi.dsi.mg4j.search.IntervalIterators.EmptyIntervalIterator
 
reset() - Method in class it.unimi.dsi.mg4j.search.IntervalIterators.FakeIterator
 
reverse() - Method in class it.unimi.dsi.mg4j.util.MutableString
The characters in this mutable string get reversed.
right - Variable in class it.unimi.dsi.mg4j.search.Interval
The right extreme of the interval.
rightShift - Variable in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
The maximum amount of right shift to perform on a 32-bit number so to obtain something greater than or equal to MinimalPerfectHash.m.

S

SHARP - Static variable in interface it.unimi.dsi.mg4j.query.parser.QueryParserConstants
 
SKEWED_GOLOMB - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Skewed Golomb coding (see OutputBitStream.writeSkewedGolomb(int,int)).
SKIPHEIGHT - Static variable in class it.unimi.dsi.mg4j.index.SkipIndexProperties
The skip height.
SKIPQUANTUM - Static variable in class it.unimi.dsi.mg4j.index.SkipIndexProperties
The skip quantum.
SLICE_BITS - Static variable in class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
The number of bits of an array slice index.
SLICE_MASK - Static variable in class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
The mask to retrieve a slice offset.
SLICE_SIZE - Static variable in class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
The maximum length of an array slice.
ScoredDocumentBoundedSizeQueue - class it.unimi.dsi.mg4j.util.ScoredDocumentBoundedSizeQueue.
A queue of scored documents with fixed maximum capacity.
ScoredDocumentBoundedSizeQueue(int) - Constructor for class it.unimi.dsi.mg4j.util.ScoredDocumentBoundedSizeQueue
Creates a new empty bounded-size queue with a given capacity and natural order as primary comparator.
ScoredDocumentBoundedSizeQueue(int, DoubleComparator) - Constructor for class it.unimi.dsi.mg4j.util.ScoredDocumentBoundedSizeQueue
Creates a new empty bounded-size queue with a given capacity.
ScoredDocumentIterator - interface it.unimi.dsi.mg4j.search.score.ScoredDocumentIterator.
A document iterator with additional methods that return the score of the current document, either with respect to a specified index (ScoredDocumentIterator.score(Index)), or globally (ScoredDocumentIterator.score()).
Scorer - interface it.unimi.dsi.mg4j.search.score.Scorer.
An object with a method that takes a DocumentIterator and returns a ScoredDocumentIterator implementing a certain score strategy.
SecondPass - class it.unimi.dsi.mg4j.tool.SecondPass.
Builds an inverted index by merging occurrence batches produced by FirstPass.
SignedMinimalPerfectHash - class it.unimi.dsi.mg4j.util.SignedMinimalPerfectHash.
Signed order-preserving minimal perfect hash tables.
SignedMinimalPerfectHash(Collection) - Constructor for class it.unimi.dsi.mg4j.util.SignedMinimalPerfectHash
Creates a new signed order-preserving minimal perfect hash table for the given set of terms, using as many weights as the longest term in the collection.
SignedMinimalPerfectHash(Collection, int) - Constructor for class it.unimi.dsi.mg4j.util.SignedMinimalPerfectHash
Creates a new signed order-preserving minimal perfect hash table for the given set of terms using the given number of weights.
SignedMinimalPerfectHash(String, String, int) - Constructor for class it.unimi.dsi.mg4j.util.SignedMinimalPerfectHash
Creates a new CRC32-signed order-preserving minimal perfect hash table for the given file of terms using the given number of weights.
SignedMinimalPerfectHash(String) - Constructor for class it.unimi.dsi.mg4j.util.SignedMinimalPerfectHash
Creates a new CRC32-signed order-preserving minimal perfect hash table for the given file of terms, using as many weights as the longest term in the file.
SimpleCharStream - class it.unimi.dsi.mg4j.query.parser.SimpleCharStream.
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
SimpleCharStream(Reader, int, int, int) - Constructor for class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
SimpleCharStream(Reader, int, int) - Constructor for class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
SimpleCharStream(Reader) - Constructor for class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
SimpleCharStream(InputStream, int, int, int) - Constructor for class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
SimpleCharStream(InputStream, int, int) - Constructor for class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
SimpleCharStream(InputStream) - Constructor for class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
SkipIndex - class it.unimi.dsi.mg4j.index.SkipIndex.
An abstract representation of an index with skips.
SkipIndex(CharSequence, TermMap, boolean, ProgressMeter) - Constructor for class it.unimi.dsi.mg4j.index.SkipIndex
Creates a new skip index using the given basename.
SkipIndex(String, File, Properties, int, int, int, boolean, long, TermMap, LongList, IntList, int, int) - Constructor for class it.unimi.dsi.mg4j.index.SkipIndex
Creates a new skip index using the given data.
SkipIndexProperties - class it.unimi.dsi.mg4j.index.SkipIndexProperties.
This class provides symbolic names for properties of a SkipIndex.
SkipIndexProperties() - Constructor for class it.unimi.dsi.mg4j.index.SkipIndexProperties
 
SkipIndexReader - class it.unimi.dsi.mg4j.index.SkipIndexReader.
Provides facilities to read a skip inverted index from an InputBitStream.
SkipIndexReader(Index) - Constructor for class it.unimi.dsi.mg4j.index.SkipIndexReader
Creates a new skip index reader, with the specified underlying Index and default buffer size.
SkipIndexReader(Index, int) - Constructor for class it.unimi.dsi.mg4j.index.SkipIndexReader
Creates a new skip index reader, with the specified underlying Index.
SkipIndexReader(Index, InputBitStream) - Constructor for class it.unimi.dsi.mg4j.index.SkipIndexReader
Creates a new skip index reader, with the specified underlying Index and input bit stream.
SkipIndexReader(InputBitStream, LongList, IntList, int, long, int, int) - Constructor for class it.unimi.dsi.mg4j.index.SkipIndexReader
Deprecated. Please use Index.getReader() or IndexReader.IndexReader(Index).
SkipIndexReader(InputBitStream, LongList, int, long, int, int) - Constructor for class it.unimi.dsi.mg4j.index.SkipIndexReader
Deprecated. Please use Index.getReader() or IndexReader.IndexReader(Index).
SkipIndexReader(InputBitStream, int, long, int, int) - Constructor for class it.unimi.dsi.mg4j.index.SkipIndexReader
Deprecated. Please use Index.getReader() or IndexReader.IndexReader(Index).
SkipIndexWriter - class it.unimi.dsi.mg4j.index.SkipIndexWriter.
Provides facilities to write skip inverted indices, that is, inverted indices with an additional skip structure.
SkipIndexWriter(OutputBitStream, OutputBitStream, int, int, int, int) - Constructor for class it.unimi.dsi.mg4j.index.SkipIndexWriter
Creates a new skip index writer, with the specified underlying OutputBitStream.
SkipIndexWriter(OutputBitStream, int, int, int, int) - Constructor for class it.unimi.dsi.mg4j.index.SkipIndexWriter
Creates a new skip index writer, with the specified underlying OutputBitStream, without an associated offset bit stream.
SkipIndexWriter.TowerData - class it.unimi.dsi.mg4j.index.SkipIndexWriter.TowerData.
A structure maintaining statistical data about tower construction.
SkipIndexWriter.TowerData() - Constructor for class it.unimi.dsi.mg4j.index.SkipIndexWriter.TowerData
 
SwitchTo(int) - Method in class it.unimi.dsi.mg4j.query.parser.QueryParserTokenManager
 
score(IntervalIterator) - Method in class it.unimi.dsi.mg4j.search.score.AbstractScorer
 
score(Map) - Method in class it.unimi.dsi.mg4j.search.score.AbstractScorer
 
score(IntervalIterator) - Method in class it.unimi.dsi.mg4j.search.score.ClarkeCormackScorer
Computes the Clarke-Cormack score of an interval iterator.
score(Index) - Method in interface it.unimi.dsi.mg4j.search.score.ScoredDocumentIterator
Returns the score of the current document with respect to the given index.
score() - Method in interface it.unimi.dsi.mg4j.search.score.ScoredDocumentIterator
Returns the overall score of the current document.
score - Variable in class it.unimi.dsi.mg4j.util.ScoredDocumentBoundedSizeQueue
An array containing document scores.
scoredDocumentIterator(DocumentIterator) - Method in class it.unimi.dsi.mg4j.search.score.AbstractScorer
 
scoredDocumentIterator(DocumentIterator) - Method in class it.unimi.dsi.mg4j.search.score.DocumentRankScorer
 
scoredDocumentIterator(DocumentIterator) - Method in interface it.unimi.dsi.mg4j.search.score.Scorer
Enrich a document iterator with a score method, according to some scoring algorithm.
search(char[]) - Method in class it.unimi.dsi.mg4j.util.TextPattern
Returns the index of the first occurrence of this pattern in the given character array.
search(char[], int) - Method in class it.unimi.dsi.mg4j.util.TextPattern
Returns the index of the first occurrence of this pattern in the given character array starting from a given index.
search(char[], int, int) - Method in class it.unimi.dsi.mg4j.util.TextPattern
Returns the index of the first occurrence of this pattern in the given character array between given indices.
search(CharSequence) - Method in class it.unimi.dsi.mg4j.util.TextPattern
Returns the index of the first occurrence of this pattern in the given character sequence.
search(CharSequence, int) - Method in class it.unimi.dsi.mg4j.util.TextPattern
Returns the index of the first occurrence of this pattern in the given character sequence starting from a given index.
search(CharSequence, int, int) - Method in class it.unimi.dsi.mg4j.util.TextPattern
Returns the index of the first occurrence of this pattern in the given character sequence between given indices.
serialVersionUID - Static variable in class it.unimi.dsi.mg4j.util.FrontCodedStringList
 
serialVersionUID - Static variable in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
 
serialVersionUID - Static variable in class it.unimi.dsi.mg4j.util.MutableString
 
serialVersionUID - Static variable in class it.unimi.dsi.mg4j.util.PermutedFrontCodedStringList
 
serialVersionUID - Static variable in class it.unimi.dsi.mg4j.util.SignedMinimalPerfectHash
 
set(int, int, int) - Method in class it.unimi.dsi.mg4j.tool.Occurrence
Sets the fields of this occurrence.
setCharAt(int, char) - Method in class it.unimi.dsi.mg4j.util.MutableString
A nickname for MutableString.charAt(int,char).
setDebugStream(PrintStream) - Method in class it.unimi.dsi.mg4j.query.parser.QueryParserTokenManager
 
setLength(int) - Method in class it.unimi.dsi.mg4j.util.MutableString
A nickname for MutableString.length(int).
singletonSet - Variable in class it.unimi.dsi.mg4j.index.Index
A singleton set containing just this index.
size() - Method in class it.unimi.dsi.mg4j.util.BloomFilter
The number of character sequences in the filter.
size() - Method in class it.unimi.dsi.mg4j.util.FrontCodedStringList
 
size() - Method in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Returns the number of terms hashed.
size() - Method in class it.unimi.dsi.mg4j.util.PermutedFrontCodedStringList
 
size() - Method in class it.unimi.dsi.mg4j.util.ScoredDocumentBoundedSizeQueue
 
sizes - Variable in class it.unimi.dsi.mg4j.index.Index
The size of each document, or null if sizes are not necessary in this index.
skip(long) - Method in class it.unimi.dsi.mg4j.io.FastBufferedInputStream
 
skip(long) - Method in class it.unimi.dsi.mg4j.io.FastBufferedReader
 
skip(long) - Method in class it.unimi.dsi.mg4j.io.FastByteArrayInputStream
 
skip(long) - Method in class it.unimi.dsi.mg4j.io.FastMultiByteArrayInputStream
 
skip(long) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Skips the given number of bits.
skipIndex - Variable in class it.unimi.dsi.mg4j.index.SkipIndexReader
The reference skip index.
skipTo(int) - Method in class it.unimi.dsi.mg4j.index.IndexReader
Skips to the first document record whose document pointer is greater than or equal to the given value.
skipTo(int) - Method in class it.unimi.dsi.mg4j.index.SkipIndexReader
 
skipTo(int) - Method in class it.unimi.dsi.mg4j.search.AbstractIntersectionDocumentIterator
 
skipTo(int) - Method in interface it.unimi.dsi.mg4j.search.DocumentIterator
Skips all documents smaller than n.
skipTo(int) - Method in class it.unimi.dsi.mg4j.search.LowPassDocumentIterator
 
skipTo(int) - Method in class it.unimi.dsi.mg4j.search.NotDocumentIterator
 
skipTo(int) - Method in class it.unimi.dsi.mg4j.search.OrDocumentIterator
 
span(CharSet, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Spans a segment of this mutable string made of the specified characters.
span(CharSet) - Method in class it.unimi.dsi.mg4j.util.MutableString
Spans the initial segment of this mutable string made of the specified characters.
span(char[], int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Spans a segment of this mutable string made of the specified characters.
span(char[]) - Method in class it.unimi.dsi.mg4j.util.MutableString
Spans the initial segment of this mutable string made of the specified characters.
specialConstructor - Variable in class it.unimi.dsi.mg4j.query.parser.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - Variable in class it.unimi.dsi.mg4j.query.parser.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
start(String, boolean) - Method in class it.unimi.dsi.mg4j.query.parser.QueryParser
Starting rule for a query.
start(CharSequence) - Method in class it.unimi.dsi.mg4j.util.ProgressMeter
Starts the progress meter, displaying a message and resetting the count.
start() - Method in class it.unimi.dsi.mg4j.util.ProgressMeter
Starts the progress meter, resetting the count.
startsWith(MutableString) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns whether this mutable string starts with the given mutable string.
startsWith(String) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns whether this mutable string starts with the given string.
startsWith(CharSequence) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns whether this mutable string starts with the given character sequence.
startsWithIgnoreCase(MutableString) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns whether this mutable string starts with the given mutable string disregarding case.
startsWithIgnoreCase(String) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns whether this mutable string starts with the given string disregarding case.
startsWithIgnoreCase(CharSequence) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns whether this mutable string starts with the given character sequence disregarding case.
state - Variable in class it.unimi.dsi.mg4j.index.IndexReader
This variable tracks the current state of the reader.
state - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The current state of the writer.
staticFlag - Static variable in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
stop(CharSequence) - Method in class it.unimi.dsi.mg4j.util.ProgressMeter
Stops the progress meter, displaying a message terminated by a newline.
stop() - Method in class it.unimi.dsi.mg4j.util.ProgressMeter
Stops the progress meter.
storeObject(Object, String) - Static method in class it.unimi.dsi.mg4j.util.Fast
Stores an object in a given file.
subSequence(int, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns a subsequence of this mutable string.
subSequence(int, int) - Method in class it.unimi.dsi.mg4j.util.TextPattern
 
substring(int, int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns a substring of this mutable string.
substring(int) - Method in class it.unimi.dsi.mg4j.util.MutableString
Returns a substring of this mutable string.

T

TERMS - Static variable in class it.unimi.dsi.mg4j.index.IndexProperties
The number of terms in the collection.
TERM_THRESHOLD - Static variable in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
The minimum number of terms that will trigger the construction of a minimal perfect hash; overwise, terms are simply stored in a vector.
TILDA - Static variable in interface it.unimi.dsi.mg4j.query.parser.QueryParserConstants
 
TRUE - Static variable in class it.unimi.dsi.mg4j.search.IntervalIterators
An iterator representing absolute truth.
TermMap - interface it.unimi.dsi.mg4j.index.TermMap.
A map from term to term indices.
TextPattern - class it.unimi.dsi.mg4j.util.TextPattern.
QuickSearch matching against a constant string.
TextPattern(CharSequence) - Constructor for class it.unimi.dsi.mg4j.util.TextPattern
Creates a new case-sensitive TextPattern object that can be used to search for the given pattern.
TextPattern(CharSequence, int) - Constructor for class it.unimi.dsi.mg4j.util.TextPattern
Creates a new TextPattern object that can be used to search for the given pattern.
Token - class it.unimi.dsi.mg4j.query.parser.Token.
Describes the input token stream.
Token() - Constructor for class it.unimi.dsi.mg4j.query.parser.Token
 
TokenMgrError - error it.unimi.dsi.mg4j.query.parser.TokenMgrError.
 
TokenMgrError() - Constructor for class it.unimi.dsi.mg4j.query.parser.TokenMgrError
 
TokenMgrError(String, int) - Constructor for class it.unimi.dsi.mg4j.query.parser.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for class it.unimi.dsi.mg4j.query.parser.TokenMgrError
 
t - Variable in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
If MinimalPerfectHash.n is smaller than MinimalPerfectHash.TERM_THRESHOLD, a vector containing the terms.
term - Variable in class it.unimi.dsi.mg4j.index.IndexReader
The current term.
termIndex - Variable in class it.unimi.dsi.mg4j.tool.Occurrence
The term index.
termMap - Variable in class it.unimi.dsi.mg4j.index.Index
The term list for this index, or null if the term list was not loaded.
terms - Variable in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
The term collection (it could be an anonymous class wrapping a file).
threshold - Variable in class it.unimi.dsi.mg4j.search.LowPassDocumentIterator
The iterator threshold.
toLowerCase() - Method in class it.unimi.dsi.mg4j.util.MutableString
Converts all of the characters in this mutable string to lower case using the rules of the default locale.
toString() - Method in class it.unimi.dsi.mg4j.index.Index
 
toString() - Method in class it.unimi.dsi.mg4j.index.SkipIndexReader
 
toString() - Method in class it.unimi.dsi.mg4j.query.parser.Token
Returns the image.
toString() - Method in class it.unimi.dsi.mg4j.search.AbstractIntersectionDocumentIterator
 
toString() - Method in class it.unimi.dsi.mg4j.search.Interval
 
toString() - Method in class it.unimi.dsi.mg4j.search.IntervalIterators.FakeIterator
 
toString() - Method in class it.unimi.dsi.mg4j.search.LowPassDocumentIterator
 
toString() - Method in class it.unimi.dsi.mg4j.search.NotDocumentIterator
 
toString() - Method in class it.unimi.dsi.mg4j.search.OrDocumentIterator
 
toString() - Method in class it.unimi.dsi.mg4j.tool.Occurrence
 
toString() - Method in class it.unimi.dsi.mg4j.util.MutableString
 
toString() - Method in class it.unimi.dsi.mg4j.util.ProgressMeter
Converts the data stored in this meter to a string.
toString() - Method in class it.unimi.dsi.mg4j.util.TextPattern
 
toUpperCase() - Method in class it.unimi.dsi.mg4j.util.MutableString
Converts all of the characters in this mutable string to upper case using the rules of the default locale.
token - Variable in class it.unimi.dsi.mg4j.query.parser.QueryParser
 
tokenImage - Variable in class it.unimi.dsi.mg4j.query.parser.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
tokenImage - Static variable in interface it.unimi.dsi.mg4j.query.parser.QueryParserConstants
 
token_source - Variable in class it.unimi.dsi.mg4j.query.parser.QueryParser
 
towerData - Variable in class it.unimi.dsi.mg4j.index.SkipIndexWriter
The sum of all tower data computed so far.
trim() - Method in class it.unimi.dsi.mg4j.io.FastByteArrayOutputStream
Ensures that the length of the backing array is equal to FastByteArrayOutputStream.length.
trim() - Method in class it.unimi.dsi.mg4j.util.MutableString
Trims all leading and trailing whitespace from this string.
trimLeft() - Method in class it.unimi.dsi.mg4j.util.MutableString
Trims all leading whitespace from this string.
trimRight() - Method in class it.unimi.dsi.mg4j.util.MutableString
Trims all trailing whitespace from this string.

U

UNARY - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
Unary coding (see OutputBitStream.writeUnary(int)).
UNGET_BUFFER_SIZE - Static variable in class it.unimi.dsi.mg4j.io.InputBitStream
The size of the InputBitStream.unget(boolean) buffer in bytes.
UNICODE_CASE - Static variable in class it.unimi.dsi.mg4j.util.TextPattern
Enables Unicode-aware case folding.
UpdateLineColumn(char) - Method in class it.unimi.dsi.mg4j.query.parser.SimpleCharStream
 
unget(boolean) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Deprecated. As of MG4J 0.6, replaced by InputBitStream.ungetBit(boolean).
unget(int) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Deprecated. As of MG4J 0.6, replaced by InputBitStream.ungetBit(int).
ungetBit(boolean) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Ungets a bit.
ungetBit(int) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Ungets a bit.
ungetInt(int, int) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Ungets an integer.
ungetLong(long, int) - Method in class it.unimi.dsi.mg4j.io.InputBitStream
Ungets a long.
unicodeCase() - Method in class it.unimi.dsi.mg4j.util.TextPattern
Returns whether this pattern uses Unicode case folding.
update() - Method in class it.unimi.dsi.mg4j.util.ProgressMeter
Updates the meter.
utf8 - Variable in class it.unimi.dsi.mg4j.util.FrontCodedStringList
Whether this front-coded list is UTF-8 encoded.
utf8() - Method in class it.unimi.dsi.mg4j.util.FrontCodedStringList
Returns whether this front-coded string list is storing its strings as UTF-8 encoded bytes.

V

VERBOSE - Static variable in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Whether we should log what's happening (it is set at class load time using the system property it.unimi.dsi.mg4j.util.minimalperfecthash.verbose).

W

WEIGHT_UNKNOWN - Static variable in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
A special value denoting that the weight length is unknown, and should be computed using the maximum length of a term.
WEIGHT_UNKNOWN_SORTED_TERMS - Static variable in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
A special value denoting that the weight length is unknown, and should be computed assuming that the terms appear in lexicographic order.
WORD - Static variable in interface it.unimi.dsi.mg4j.query.parser.QueryParserConstants
 
weight(Index) - Method in class it.unimi.dsi.mg4j.search.score.AbstractScorer
 
weight0 - Variable in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Vector of weights to compute the first intermediate hash function.
weight1 - Variable in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Vector of weights to compute the second intermediate hash function.
weight2 - Variable in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Vector of weights to compute the third intermediate hash function.
weightLength - Variable in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
The length of the components of the weight vectors (it's faster than asking the length of the vectors).
weightLength() - Method in class it.unimi.dsi.mg4j.util.MinimalPerfectHash
Returns the length of the weight vectors.
wrap(char[]) - Static method in class it.unimi.dsi.mg4j.util.MutableString
Wraps a given character array in a compact mutable string.
wrap(char[], int) - Static method in class it.unimi.dsi.mg4j.util.MutableString
Wraps a given character array for a given length in a loose mutable string.
write(byte[], int) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
write(int) - Method in class it.unimi.dsi.mg4j.io.FastBufferedOutputStream
 
write(byte[], int, int) - Method in class it.unimi.dsi.mg4j.io.FastBufferedOutputStream
 
write(int) - Method in class it.unimi.dsi.mg4j.io.FastByteArrayOutputStream
 
write(OutputBitStream, int[], int, int, int, int) - Static method in class it.unimi.dsi.mg4j.io.InterpolativeCoding
Writes to a bit stream a increasing sequence of integers using interpolative coding.
write(int) - Method in class it.unimi.dsi.mg4j.io.NullOutputStream
 
write(byte[], int) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a sequence of bits.
write(Writer) - Method in class it.unimi.dsi.mg4j.util.MutableString
Writes this mutable string to a Writer.
writeBit(boolean) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeBit(int) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeBit(boolean) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a bit.
writeBit(int) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a bit.
writeDelta(int) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeDelta(int) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a natural number in δ coding.
writeDelta(long) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Deprecated. As of MG4J 0.2, replaced by OutputBitStream.writeLongDelta(long).
writeDocumentPointer(OutputBitStream, int) - Method in class it.unimi.dsi.mg4j.index.IndexWriter
Writes a document pointer.
writeDocumentPointer(OutputBitStream, int) - Method in class it.unimi.dsi.mg4j.index.SkipIndexWriter
 
writeDocumentPositions(OutputBitStream, int[], int, int, int) - Method in class it.unimi.dsi.mg4j.index.IndexWriter
Writes the positions of the occurrences of the current term in the current document to the given OutputBitStream.
writeFrequency(int) - Method in class it.unimi.dsi.mg4j.index.IndexWriter
Writes the frequency.
writeFrequency(int) - Method in class it.unimi.dsi.mg4j.index.SkipIndexWriter
 
writeGamma(int) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeGamma(int) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a natural number in γ coding.
writeGolomb(int, int) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeGolomb(int, int, int) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeGolomb(int, int) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a natural number in Golomb coding.
writeGolomb(int, int, int) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a natural number in Golomb coding.
writeInt(int, int) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeInt(int, int) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a fixed number of bits from an integer.
writeLong(long, int) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeLong(long, int) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a fixed number of bits from a long.
writeLongDelta(long) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeLongDelta(long) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a long natural number in δ coding.
writeLongGamma(long) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeLongGamma(long) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a long natural number in γ coding.
writeLongGolomb(long, long) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeLongGolomb(long, long, int) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeLongGolomb(long, long) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a long natural number in Golomb coding.
writeLongGolomb(long, long, int) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a long natural number in Golomb coding.
writeLongMinimalBinary(long, long) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeLongMinimalBinary(long, long, int) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeLongMinimalBinary(long, long) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a long natural number in a limited range using a minimal binary coding.
writeLongMinimalBinary(long, long, int) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a long natural number in a limited range using a minimal binary coding.
writeLongNibble(long) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a long natural number in variable-length nibble coding.
writeLongSkewedGolomb(long, long) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeLongSkewedGolomb(long, long) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a long natural number in skewed Golomb coding.
writeLongUnary(long) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeLongUnary(long) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a long natural number in unary coding.
writeLongZeta(long, int) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeLongZeta(long, int) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a long natural number in ζ coding.
writeMinimalBinary(int, int) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeMinimalBinary(int, int, int) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeMinimalBinary(int, int) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a natural number in a limited range using a minimal binary coding.
writeMinimalBinary(int, int, int) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a natural number in a limited range using a minimal binary coding.
writeNibble(int) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a natural number in variable-length nibble coding.
writeOccurrences(Occurrence[], int, OutputBitStream) - Static method in class it.unimi.dsi.mg4j.tool.Occurrence
Writes in compressed form a vector of sorted occurrences.
writePositionCount(OutputBitStream, int) - Method in class it.unimi.dsi.mg4j.index.IndexWriter
Writes the count of the occurrences of the current term in the current document to the given OutputBitStream.
writeSelfDelimUTF8(DataOutput) - Method in class it.unimi.dsi.mg4j.util.MutableString
Writes this mutable string to a DataOutput as a length followed by a UTF-8 encoding.
writeSkewedGolomb(int, int) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeSkewedGolomb(int, int) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a natural number in skewed Golomb coding.
writeUTF8(DataOutput) - Method in class it.unimi.dsi.mg4j.util.MutableString
Writes this mutable string in UTF-8 encoding.
writeUnary(int) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeUnary(int) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a natural number in unary coding.
writeZeta(int, int) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writeZeta(int, int) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Writes a natural number in ζ coding.
writtenBits() - Method in class it.unimi.dsi.mg4j.index.IndexWriter
This method returns the overall number of bits written onto the underlying stream.
writtenBits() - Method in class it.unimi.dsi.mg4j.index.SkipIndexWriter
This method returns the overall number of bits written onto the underlying stream.
writtenBits() - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writtenBits(long) - Method in class it.unimi.dsi.mg4j.io.DebugOutputBitStream
 
writtenBits() - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Returns the number of bits written to this bit stream.
writtenBits(long) - Method in class it.unimi.dsi.mg4j.io.OutputBitStream
Sets the number of bits written to this bit stream.
writtenDocuments - Variable in class it.unimi.dsi.mg4j.index.IndexWriter
The number of document records already written for the current inverted list.

Z

ZETA - Static variable in interface it.unimi.dsi.mg4j.index.CompressionFlags
ζk coding (see OutputBitStream.writeZeta(int,int)).
ZerothPass - class it.unimi.dsi.mg4j.tool.ZerothPass.
Builds the list of terms appearing in a sequence of documents read from standard input.

A B C D E F G H I J K L M N O P Q R S T U V W Z