Serialized Form


Package it.unimi.di.mg4j.document

Class it.unimi.di.mg4j.document.AbstractDocumentFactory extends Object implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.document.CompositeDocumentFactory extends AbstractDocumentFactory implements Serializable

serialVersionUID: 1L

Serialized Fields

documentFactory

DocumentFactory[] documentFactory
The array of document factories composing this composite document factory.


numberOfFields

int numberOfFields
The overall number of fields (i.e., the sum of DocumentFactory.numberOfFields() over CompositeDocumentFactory.documentFactory.


fieldName

String[] fieldName
The name of all fields in sequence.


fieldType

DocumentFactory.FieldType[] fieldType
The type of all fields in sequence.


field2Index

Object2IntOpenHashMap<K> field2Index
The map from field names to field indices.


factoryIndex

int[] factoryIndex
The factory of each field.


originalFieldIndex

int[] originalFieldIndex
The index of each field in its own factory.

Class it.unimi.di.mg4j.document.ConcatenatedDocumentCollection extends AbstractDocumentCollection implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

collectionName

String[] collectionName
The name of the collections composing this concatenated document collection.


n

int n
The length of ConcatenatedDocumentCollection.collection.


startDocument

long[] startDocument
The array of starting documents (the last element is the overall number of documents).

Class it.unimi.di.mg4j.document.CSVDocumentCollection extends AbstractDocumentSequence implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

fileName

String fileName
The CSV filename.


separator

String separator
The field separator.


column

String[] column
The column names.


titleColumn

int titleColumn
If nonnegative, the index of the colulmn to be used as a title.


factory

DocumentFactory factory
The factory to be used by this collection.

Class it.unimi.di.mg4j.document.DispatchingDocumentFactory extends PropertyBasedDocumentFactory implements Serializable

serialVersionUID: 1L

Serialized Fields

n

int n
The number of subfactories used.


documentFactory

DocumentFactory[] documentFactory
The subfactories used.


numberOfFields

int numberOfFields
The number of fields of this factory.


fieldName

String[] fieldName
The names of the fields.


fieldType

DocumentFactory.FieldType[] fieldType
The types of the fields.


rename

int[][] rename
The array specifying how subfactory fields should be mapped into fields of this factory. More precisely, rename[f][k] specifies which field of factory documentFactory[f] should be used to return the field named fieldName[k]: it is assumed that the type of the field in the subfactory is correct (i.e., that documentFactory[f].fieldType(k)==fieldType[k]). The value -1 is used to return an empty textual field (i.e., a word reader on an empty string).


strategy

DispatchingDocumentFactory.DispatchingStrategy strategy
The strategy to be used.


dispatchingKey

Enum<E extends Enum<E>> dispatchingKey
If a DispatchingDocumentFactory.StringBasedDispatchingStrategy should be used, this field represents the property key to be checked. Otherwise, this is null.


value2factoryClass

Object2ObjectLinkedOpenHashMap<K,V> value2factoryClass
If a DispatchingDocumentFactory.StringBasedDispatchingStrategy should be used, this field represents the map from values to factories.


nullReader

WordReader nullReader
A word reader that is returned when a null field should be returned.

Class it.unimi.di.mg4j.document.DispatchingDocumentFactory.StringBasedDispatchingStrategy extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

key

Enum<E extends Enum<E>> key
The key to be resolved.


value

Object2IntMap<K> value
The values that should be used for comparisons.

Class it.unimi.di.mg4j.document.FileSetDocumentCollection extends AbstractDocumentCollection implements Serializable

serialVersionUID: 0L

Serialized Fields

file

String[] file
The files in this collection.


uri

String[] uri
URIs for each file in this collection, or null, in which case the filename will be used as URI.


factory

DocumentFactory factory
The factory to be used by this collection.


last

InputStream last
The last returned file input stream.

Class it.unimi.di.mg4j.document.HtmlDocumentFactory extends PropertyBasedDocumentFactory implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

maxPreAnchor

int maxPreAnchor
The maximum number of characters before an anchor.


maxAnchor

int maxAnchor
The maximum number of characters in an anchor.


maxPostAnchor

int maxPostAnchor
The maximum number of characters after an anchor.

Class it.unimi.di.mg4j.document.IdentityDocumentFactory extends PropertyBasedDocumentFactory implements Serializable

serialVersionUID: 2L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

fieldName

String fieldName
The name of the only field.

Class it.unimi.di.mg4j.document.JavamailDocumentCollection extends AbstractDocumentCollection implements Serializable

serialVersionUID: 2L

Serialization Methods

readResolve

private Object readResolve()
                    throws javax.mail.MessagingException,
                           IOException
Throws:
javax.mail.MessagingException
IOException
Serialized Fields

numberOfMessages

int numberOfMessages
The number of messages.


factory

it.unimi.di.mg4j.document.JavamailDocumentCollection.JavamailDocumentFactory factory
The factory to be used by this collection.


storeUrl

String storeUrl
The URL for the store.


folderName

String folderName
The folder name.

Class it.unimi.di.mg4j.document.JdbcDocumentCollection extends AbstractDocumentCollection implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

id2doc

Int2IntMap id2doc
The map from database identifiers to documents.


doc2id

int[] doc2id
The map (as an array) from documents to database identifiers.


dbUri

String dbUri
The URI pointing at the database.


jdbcDriverName

String jdbcDriverName
Optionally, the driver name.


factory

DocumentFactory factory
The factory to be used by this collection.


select

String select
The query generating the collection (without the SELECT keyword).


idSpec

String idSpec
The spec for the id field; by default it is id, but in complex query it could be ambiguous.


where

String where
The WHERE part of the query generating the collection (without the WHERE keyword), or null.

Class it.unimi.di.mg4j.document.PropertyBasedDocumentFactory extends AbstractDocumentFactory implements Serializable

serialVersionUID: 1L

Serialized Fields

defaultMetadata

Reference2ObjectMap<K,V> defaultMetadata
The set of default metadata for this factory. It is initalised by PropertyBasedDocumentFactory.parseProperties(Properties).

Class it.unimi.di.mg4j.document.ReplicatedDocumentFactory extends AbstractDocumentFactory implements Serializable

serialVersionUID: 2L

Serialized Fields

documentFactory

DocumentFactory documentFactory
The document factory that will be replicated.


numberOfCopies

int numberOfCopies
The number of copies.


field2Index

Object2IntOpenHashMap<K> field2Index
The map from field names to field indices.


fieldName

String[] fieldName
The field names.

Class it.unimi.di.mg4j.document.SimpleCompressedDocumentCollection extends AbstractDocumentCollection implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

basename

String basename
The basename of this collection.


exact

boolean exact
Whether this collection is exact (i.e., whether it stores nonwords).


documents

long documents
The number of documents in this collection.


terms

long terms
The number of terms in this collection.


nonTerms

long nonTerms
The number of nonterms in this collection, or -1 if SimpleCompressedDocumentCollection.exact is false.


factory

DocumentFactory factory
The underlying factory.


hasNonText

boolean hasNonText
Whether this collection contains non-text or virtual fields.


fileOpenOk

boolean fileOpenOk
True if ancillary files have been all correctly opened.


fileMappingOk

boolean fileMappingOk
True if memory mappings have been all been obtained.

Class it.unimi.di.mg4j.document.SubDocumentFactory extends AbstractDocumentFactory implements Serializable

serialVersionUID: 1L

Serialized Fields

underlyingFactory

DocumentFactory underlyingFactory
The underlying document factory.


visibleField

int[] visibleField
The subfields of SubDocumentFactory.underlyingFactory that will be exposed.


field2Pos

Int2IntOpenHashMap field2Pos
A map from the original field index to the new index; returns -1 for non-mapped fields.

Class it.unimi.di.mg4j.document.SubsetDocumentSequence extends AbstractDocumentSequence implements Serializable

serialVersionUID: 1L

Serialized Fields

underlyingSequence

DocumentSequence underlyingSequence
The underlying document sequence.


documents

IntSet documents
The set of document pointers to be retained.

Class it.unimi.di.mg4j.document.TRECDocumentCollection extends AbstractDocumentCollection implements Serializable

serialVersionUID: -4251461013312968454L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Throws:
IOException
Serialized Fields

file

String[] file
The list of the files containing the documents.


useGzip

boolean useGzip
Whether the files in TRECDocumentCollection.file are gzipped.


factory

DocumentFactory factory
The document factory.


bufferSize

int bufferSize
The buffer size.


lastStream

SegmentedInputStream lastStream
The last returned stream.


buffer

byte[] buffer

Class it.unimi.di.mg4j.document.TRECHeaderDocumentFactory extends AbstractDocumentFactory implements Serializable

serialVersionUID: -8671564750345493607L

Serialized Fields

buffer

byte[] buffer

Class it.unimi.di.mg4j.document.WikipediaDocumentCollection extends AbstractDocumentCollection implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

file

String[] file
The files in this collection.


gzipped

boolean gzipped
The files in WikipediaDocumentCollection.file are gzip'd.


factory

DocumentFactory factory
The factory to be used by this collection.


pointers

ObjectArrayList<K> pointers
A list of lists of pointers parallel to WikipediaDocumentCollection.file. Each list contains the starting pointer of each document (within its file), plus a final pointer at the end of the file.


size

int size
The number of documents in this collection.


phrase

boolean phrase
Whether this index contains phrases (as opposed to documents).


firstDocument

int[] firstDocument
An array parallel to WikipediaDocumentCollection.file containing the index of the first document within each file, plus a final entry equal to WikipediaDocumentCollection.size.

Class it.unimi.di.mg4j.document.WikipediaDocumentCollection.WhitespaceWordReader extends FastBufferedReader implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.document.ZipDocumentCollection extends AbstractDocumentCollection implements Serializable

serialVersionUID: 2L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

zipFilename

String zipFilename
The name of the zip collection file.


underlyingFactory

DocumentFactory underlyingFactory
The factory used for the original document sequence.


factory

DocumentFactory factory
The factory used for this document collection.


numberOfDocuments

int numberOfDocuments
The number of documents.


exact

boolean exact
true iff this is an exact reproduction of the original sequence (i.e., if also non-words are preserved).

Class it.unimi.di.mg4j.document.ZipDocumentCollection.ZipFactory extends AbstractDocumentFactory implements Serializable

serialVersionUID: 1L

Serialized Fields

exact

boolean exact

underlyingFactory

DocumentFactory underlyingFactory

Package it.unimi.di.mg4j.document.tika

Class it.unimi.di.mg4j.document.tika.AbstractSimpleTikaDocumentFactory extends AbstractTikaDocumentFactory implements Serializable

serialVersionUID: 1L

Serialized Fields

fields

List<E> fields
The list of tika fields.


wordReader

WordReader wordReader
The word reader used by this class.

Class it.unimi.di.mg4j.document.tika.AbstractTikaDocumentFactory extends PropertyBasedDocumentFactory implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.document.tika.AutoDetectDocumentFactory extends AbstractSimpleTikaDocumentFactory implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.document.tika.EPUBDocumentFactory extends AbstractSimpleTikaDocumentFactory implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.document.tika.GreedyTikaField extends TikaField implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.document.tika.HtmlDocumentFactory extends AbstractSimpleTikaDocumentFactory implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.document.tika.MSOfficeDocumentFactory extends AbstractSimpleTikaDocumentFactory implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.document.tika.OOXMLDocumentFactory extends AbstractSimpleTikaDocumentFactory implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.document.tika.OpenDocumentDocumentFactory extends AbstractSimpleTikaDocumentFactory implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.document.tika.PdfDocumentFactory extends AbstractSimpleTikaDocumentFactory implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.document.tika.RTFDocumentFactory extends AbstractSimpleTikaDocumentFactory implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.document.tika.TextDocumentFactory extends AbstractSimpleTikaDocumentFactory implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.document.tika.TikaField extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

mg4jName

String mg4jName
The MG4J name of the field.


tikaName

String tikaName
The Tika name of the field. It is null for the Tika content.

Class it.unimi.di.mg4j.document.tika.XMLDocumentFactory extends AbstractSimpleTikaDocumentFactory implements Serializable

serialVersionUID: 1L


Package it.unimi.di.mg4j.index

Class it.unimi.di.mg4j.index.BitStreamHPIndex extends BitStreamIndex implements Serializable

serialVersionUID: 0L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

Class it.unimi.di.mg4j.index.BitStreamIndex extends Index implements Serializable

serialVersionUID: 0L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

frequencyCoding

CompressionFlags.Coding frequencyCoding
The coding for frequencies. See CompressionFlags.


pointerCoding

CompressionFlags.Coding pointerCoding
The coding for pointers. See CompressionFlags.


countCoding

CompressionFlags.Coding countCoding
The coding for counts. See CompressionFlags.


positionCoding

CompressionFlags.Coding positionCoding
The coding for positions. See CompressionFlags.


offsets

LongList offsets
The offset of each term, if offsets were loaded or specified at creation time, or null.


height

int height
The parameter h (the maximum height of a skip tower), or -1 if this index has no skips.


quantum

int quantum
The quantum, or -1 if this index has no skips, or 0 if this is a BitStreamHPIndex and quanta are variable.


bufferSize

int bufferSize
The size of the buffer used to read the bit stream.

Class it.unimi.di.mg4j.index.DowncaseTermProcessor extends Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readResolve

private Object readResolve()

Class it.unimi.di.mg4j.index.FileHPIndex extends BitStreamHPIndex implements Serializable

serialVersionUID: 0L

Serialized Fields

basename

String basename
The basename of this index. All file names will be stemmed from the basename. It may be null.


indexFile

File indexFile
The file containing the index. It may be null.


positionsFile

File positionsFile
The file containing the positions. It may be null. // TODO: Why ?

Class it.unimi.di.mg4j.index.FileIndex extends BitStreamIndex implements Serializable

serialVersionUID: 0L

Serialized Fields

ioFactory

IOFactory ioFactory
The I/O factory that will be used to open files.


basename

String basename
The basename of this index. All file names will be stemmed from the basename. It may be null.


indexFile

String indexFile
The file containing the index. It may be null.

Class it.unimi.di.mg4j.index.Index extends Object implements Serializable

serialVersionUID: 0L

Serialized Fields

field

String field
The field indexed by this index, or null.


properties

Properties properties
The properties of this index. It is stored here for convenience (for instance, if custom keys are added to the property file), but it may be null.


numberOfDocuments

int numberOfDocuments
The number of documents of the collection.


numberOfTerms

int numberOfTerms
The number of terms of the collection. This field might be set to -1 in some cases (for instance, in certain documental clusters).


numberOfOccurrences

long numberOfOccurrences
The number of occurrences of the collection, or possibly -1 if it is unknown.


numberOfPostings

long numberOfPostings
The number of postings (pairs term/document) of the collection.


maxCount

int maxCount
The maximum number of positions in an position list, or possibly -1 if this index does not have positions.


payload

Payload payload
The payload for this index, or null.


hasPayloads

boolean hasPayloads
Whether this index contains payloads; if true, Index.payload is non-null.


hasCounts

boolean hasCounts
Whether this index contains counts.


hasPositions

boolean hasPositions
Whether this index contains positions.


termProcessor

TermProcessor termProcessor
The term processor used to build this index.


singletonSet

ReferenceSet<K> singletonSet
An immutable singleton set containing just Index.keyIndex.


keyIndex

Index keyIndex
The index used as a key to retrieve intervals. Usually equal to this, but it is settable.


termMap

StringMap<S extends CharSequence> termMap
The term map for this index, or null if the term map was not loaded.


prefixMap

PrefixMap<S extends CharSequence> prefixMap
The prefix map for this index, or null if the prefix map was not loaded.


sizes

IntList sizes
The size of each document, or null if sizes are not necessary or not loaded in this index.

Class it.unimi.di.mg4j.index.Index.EmptyIndexIterator extends Object implements Serializable

serialVersionUID: 0L

Serialized Fields

term

String term

weight

double weight

id

int id

termNumber

int termNumber

Class it.unimi.di.mg4j.index.InMemoryHPIndex extends BitStreamHPIndex implements Serializable

serialVersionUID: 0L

Serialized Fields

index

byte[] index
The byte array containing the index.


positions

byte[] positions
The byte array containing the positions.

Class it.unimi.di.mg4j.index.InMemoryIndex extends BitStreamIndex implements Serializable

serialVersionUID: 0L

Serialized Fields

index

byte[] index
The byte array containing the index.

Class it.unimi.di.mg4j.index.MemoryMappedHPIndex extends BitStreamHPIndex implements Serializable

serialVersionUID: 0L

Serialized Fields

index

ByteBufferInputStream index
The byte buffer containing the index.


positions

ByteBufferInputStream positions
The byte buffer containing the positions.

Class it.unimi.di.mg4j.index.MemoryMappedIndex extends BitStreamIndex implements Serializable

serialVersionUID: 0L

Serialized Fields

index

ByteBufferInputStream index
The byte buffer containing the index.

Class it.unimi.di.mg4j.index.NullTermProcessor extends Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readResolve

private Object readResolve()

Class it.unimi.di.mg4j.index.QuasiSuccinctIndex extends Index implements Serializable

serialVersionUID: 1L

Serialized Fields

pointers

LongBigList pointers
The big list of longs representing the bitstream of pointers.


counts

LongBigList counts
The big list of longs representing the bitstream of counts.


positions

LongBigList positions
The big list of longs representing the bitstream of positions.


pointersOffsets

LongList pointersOffsets
The list of offsets into pointers.


countsOffsets

LongList countsOffsets
The list of offsets into counts.


positionsOffsets

LongList positionsOffsets
The list of offsets into positions.


log2Quantum

int log2Quantum
The logarithm of the skipping quantum.

Class it.unimi.di.mg4j.index.TooManyTermsException extends Exception implements Serializable

serialVersionUID: 0L

Serialized Fields

numberOfTerms

int numberOfTerms

Package it.unimi.di.mg4j.index.cluster

Class it.unimi.di.mg4j.index.cluster.ChainedLexicalClusteringStrategy extends Object implements Serializable

serialVersionUID: 0L

Class it.unimi.di.mg4j.index.cluster.ContiguousDocumentalStrategy extends Object implements Serializable

serialVersionUID: 0L

Serialized Fields

cutPoint

int[] cutPoint
The cutpoints.


k

int k
The (cached) number of segments.

Class it.unimi.di.mg4j.index.cluster.ContiguousLexicalStrategy extends Object implements Serializable

serialVersionUID: 0L

Serialized Fields

cutPoint

int[] cutPoint
The cutpoints.


cutPointTerm

MutableString[] cutPointTerm
The cutpoint terms.


k

int k
The (cached) number of segments.

Class it.unimi.di.mg4j.index.cluster.DocumentalCluster extends IndexCluster implements Serializable

serialVersionUID: 1L

Serialized Fields

concatenated

boolean concatenated
Whether this documental cluster is concatenated.


flat

boolean flat
Whether this documental cluster is flat; in this case, all local indices have the same term list.


allIndices

int[] allIndices
An Array containing the numbers from 0 to the number of local indices (excluded). Used to implement IndexReader.documents(int) more efficiently in flat indices.


strategy

DocumentalClusteringStrategy strategy
The clustering strategy.

Class it.unimi.di.mg4j.index.cluster.DocumentalConcatenatedCluster extends DocumentalCluster implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.index.cluster.DocumentalMergedCluster extends DocumentalCluster implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.index.cluster.IdentityDocumentalStrategy extends Object implements Serializable

serialVersionUID: 0L

Serialized Fields

numberOfLocalIndices

int numberOfLocalIndices
The number of local indices.


numberOfDocuments

int numberOfDocuments
The number of documents.

Class it.unimi.di.mg4j.index.cluster.IndexCluster extends Index implements Serializable

serialVersionUID: 1L

Serialized Fields

localIndex

Index[] localIndex
The local indices of this cluster.


termFilter

BloomFilter[] termFilter
An array of Bloom filter to reduce index access, or null.

Class it.unimi.di.mg4j.index.cluster.LexicalCluster extends IndexCluster implements Serializable

serialVersionUID: 1L

Serialized Fields

strategy

LexicalClusteringStrategy strategy
The strategy to be used.


partitioningStrategy

LexicalPartitioningStrategy partitioningStrategy
The strategy, cast to a partition strategy, or null.


Package it.unimi.di.mg4j.index.payload

Class it.unimi.di.mg4j.index.payload.AbstractPayload extends Object implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.index.payload.DatePayload extends AbstractPayload implements Serializable

serialVersionUID: 1L

Serialized Fields

secondsFromEpoch

long secondsFromEpoch

Class it.unimi.di.mg4j.index.payload.IntegerPayload extends AbstractPayload implements Serializable

serialVersionUID: 1L

Serialized Fields

unset

boolean unset
Whether this payload has been ever set.


value

long value
The current value of this payload, if IntegerPayload.unset is false.


Package it.unimi.di.mg4j.index.remote

Class it.unimi.di.mg4j.index.remote.RemoteBitStreamHPIndex extends BitStreamHPIndex implements Serializable

serialVersionUID: 0L

Serialized Fields

address

SocketAddress address
The address of the socket associated with this index.

Class it.unimi.di.mg4j.index.remote.RemoteBitStreamIndex extends BitStreamIndex implements Serializable

serialVersionUID: 0L

Serialized Fields

address

SocketAddress address
The address of the socket associated with this index.

Class it.unimi.di.mg4j.index.remote.RemoteIndex extends Index implements Serializable

serialVersionUID: 0L

Serialized Fields

socketAddress

SocketAddress socketAddress
The socket exporting the index.

Class it.unimi.di.mg4j.index.remote.RemoteOffsetList extends AbstractLongList implements Serializable

serialVersionUID: 2L

Serialized Fields

address

SocketAddress address
The address of the socket assigned to the server thread.


size

int size
The size of the list, cached locally.

Class it.unimi.di.mg4j.index.remote.RemotePrefixMap extends RemoteTermMap implements Serializable

serialVersionUID: 1L

Serialized Fields

hasPrefixes

Boolean hasPrefixes
Whether the remote map implements PrefixMap.prefixMap().


prefixMap

AbstractObject2ObjectFunction<K,V> prefixMap

rangeMap

Object2ObjectFunction<K,V> rangeMap

Class it.unimi.di.mg4j.index.remote.RemoteSizeList extends AbstractIntList implements Serializable

serialVersionUID: 2L

Serialized Fields

address

SocketAddress address
The address of the socket assigned to the server thread.


size

int size
The size of the list, cached locally.

Class it.unimi.di.mg4j.index.remote.RemoteTermMap extends AbstractObject2LongFunction<CharSequence> implements Serializable

serialVersionUID: 1L

Serialized Fields

address

SocketAddress address
The address of the index server.


size

int size
The size of the map.


list

ObjectList<K> list
The cached return value of StringMap.list().


hasTerms

Boolean hasTerms
Whether the remote map implements StringMap.list().


Package it.unimi.di.mg4j.index.snowball

Class it.unimi.di.mg4j.index.snowball.AbstractSnowballTermProcessor extends Object implements Serializable

Serialized Fields

current

MutableString current

copy

MutableString copy

array

char[] array

cursor

int cursor

limit

int limit

limit_backward

int limit_backward

bra

int bra

ket

int ket

Class it.unimi.di.mg4j.index.snowball.DanishStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_x

int I_x

I_p1

int I_p1

S_ch

MutableString S_ch

Class it.unimi.di.mg4j.index.snowball.DutchStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_p2

int I_p2

I_p1

int I_p1

B_e_found

boolean B_e_found

Class it.unimi.di.mg4j.index.snowball.EnglishStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

B_Y_found

boolean B_Y_found

I_p2

int I_p2

I_p1

int I_p1

Class it.unimi.di.mg4j.index.snowball.FinnishStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

B_ending_removed

boolean B_ending_removed

S_x

MutableString S_x

I_p2

int I_p2

I_p1

int I_p1

Class it.unimi.di.mg4j.index.snowball.FrenchStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_p2

int I_p2

I_p1

int I_p1

I_pV

int I_pV

Class it.unimi.di.mg4j.index.snowball.German2Stemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_x

int I_x

I_p2

int I_p2

I_p1

int I_p1

Class it.unimi.di.mg4j.index.snowball.GermanStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_x

int I_x

I_p2

int I_p2

I_p1

int I_p1

Class it.unimi.di.mg4j.index.snowball.HungarianStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_p1

int I_p1

Class it.unimi.di.mg4j.index.snowball.ItalianStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_p2

int I_p2

I_p1

int I_p1

I_pV

int I_pV

Class it.unimi.di.mg4j.index.snowball.KraaijPohlmannStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

B_GE_removed

boolean B_GE_removed

B_stemmed

boolean B_stemmed

B_Y_found

boolean B_Y_found

I_p2

int I_p2

I_p1

int I_p1

I_x

int I_x

S_ch

MutableString S_ch

Class it.unimi.di.mg4j.index.snowball.LovinsStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.index.snowball.NorwegianStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_x

int I_x

I_p1

int I_p1

Class it.unimi.di.mg4j.index.snowball.PorterStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

B_Y_found

boolean B_Y_found

I_p2

int I_p2

I_p1

int I_p1

Class it.unimi.di.mg4j.index.snowball.PortugueseStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_p2

int I_p2

I_p1

int I_p1

I_pV

int I_pV

Class it.unimi.di.mg4j.index.snowball.SpanishStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_p2

int I_p2

I_p1

int I_p1

I_pV

int I_pV

Class it.unimi.di.mg4j.index.snowball.SwedishStemmer extends AbstractSnowballTermProcessor implements Serializable

serialVersionUID: 1L

Serialized Fields

I_x

int I_x

I_p1

int I_p1

Package it.unimi.di.mg4j.query

Class it.unimi.di.mg4j.query.FileSystemItem extends HttpServlet implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.query.GenericItem extends VelocityViewServlet implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.query.HelpPage extends VelocityViewServlet implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.query.InputStreamItem extends HttpServlet implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.query.MarkingMutableString extends MutableString implements Serializable

serialVersionUID: 1L

Serialized Fields

resume

boolean resume

marking

boolean marking

interval

SelectedInterval[] interval
The current set of intervals for marking.


count

int count

currMarkingInterval

int currMarkingInterval

currResumeInterval

int currResumeInterval

skipping

boolean skipping

oneCharOut

boolean oneCharOut

marker

Marker marker

escapeStrategy

MarkingMutableString.EscapeStrategy escapeStrategy

intervalSurround

int intervalSurround
The number of surrounding word around each interval.

Class it.unimi.di.mg4j.query.QueryServlet extends VelocityViewServlet implements Serializable

serialVersionUID: 1L

Serialized Fields

template

String template
The actual template used by this servlet (default: QueryServlet.DEFAULT_TEMPLATE).


queryEngine

QueryEngine queryEngine
The query engine.


documentCollection

DocumentCollection documentCollection
The document collection.


titleList

List<E> titleList
An optional title list if the document collection is not present.


indexMap

Object2ReferenceMap<K,V> indexMap
A sorted map from index names to indices: the first entry is the default index.


sortedIndex

Index[] sortedIndex
The indices of the fields specified in the index map, in increasing order (for document access).


urlEncodedMimeType

String urlEncodedMimeType
If not null, a MIME type suggested to the servlet.


useUri

boolean useUri
If true, the link associated with each item must be built using the document URI.


derelativise

boolean derelativise
If true, URIs are files that should be derelativised.

Class it.unimi.di.mg4j.query.SelectedInterval extends Object implements Serializable

serialVersionUID: 0L

Serialized Fields

interval

Interval interval
The underlying interval.


type

SelectedInterval.IntervalType type
The interval type, or null for an untyped interval.


Package it.unimi.di.mg4j.query.nodes

Class it.unimi.di.mg4j.query.nodes.Align extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

alignee

Query alignee
The query to be aligned.


aligner

Query aligner
The aligner query.

Class it.unimi.di.mg4j.query.nodes.And extends Composite implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.query.nodes.Composite extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

query

Query[] query
The component queries. Although public, this field should not be changed after creation.

Class it.unimi.di.mg4j.query.nodes.Consecutive extends Composite implements Serializable

serialVersionUID: 1L

Serialized Fields

gap

int[] gap
The gap array for this consecutive composition, or null for no gaps (see ConsecutiveDocumentIterator). The array can be long as Composite.query, or have an additional element representing a final gap: in this case, the index against which the query is resolved must provide document sizes.

Class it.unimi.di.mg4j.query.nodes.Difference extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

minuend

Query minuend
The minuend query.


subtrahend

Query subtrahend
The subtrahend query.


leftMargin

int leftMargin
A margin that will be added to the left of each interval.


rightMargin

int rightMargin
A margin that will be added to the right of each interval.

Class it.unimi.di.mg4j.query.nodes.False extends Object implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.query.nodes.LowPass extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

query

Query query
The only underlying node.


k

int k
The threshold above which intervals are eliminated.

Class it.unimi.di.mg4j.query.nodes.MultiTerm extends Composite implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.query.nodes.Not extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

query

Query query
The only underlying node.

Class it.unimi.di.mg4j.query.nodes.Or extends Composite implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.query.nodes.OrderedAnd extends Composite implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.query.nodes.Prefix extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

prefix

CharSequence prefix
The common prefix of the set of terms represented by this node.

Class it.unimi.di.mg4j.query.nodes.QueryBuilderVisitorException extends Exception implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.query.nodes.Range extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

left

CharSequence left
The string representation of the left extreme of the range, or null for no left extreme.


right

CharSequence right
The string representation of the right extreme of the range, or null for no right extreme.

Class it.unimi.di.mg4j.query.nodes.Remap extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

query

Query query
The only underlying node.


indexRemapping

Object2ObjectLinkedOpenHashMap<K,V> indexRemapping
The remapping from internal to external indices.


indexInverseRemapping

Object2ObjectLinkedOpenHashMap<K,V> indexInverseRemapping
The remapping from external to internal indices.

Class it.unimi.di.mg4j.query.nodes.Select extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

index

CharSequence index
The name of the index selected for the subquery.


query

Query query
The only underlying node.

Class it.unimi.di.mg4j.query.nodes.Term extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

term

CharSequence term
The term represented by this node, or null if the term is defined by its number.


termNumber

int termNumber
The number of the term represented by this node, or -1 if the term is defined literally.

Class it.unimi.di.mg4j.query.nodes.True extends Object implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.query.nodes.Weight extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

weight

double weight
The weight selection.


query

Query query
The only underlying node.


Package it.unimi.di.mg4j.query.parser

Class it.unimi.di.mg4j.query.parser.ParseException extends Exception implements Serializable

Serialized Fields

specialConstructor

boolean specialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).


currentToken

Token currentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token followng this token will (therefore) be the first error token.


expectedTokenSequences

int[][] expectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.


tokenImage

String[] tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.


eol

String eol
The end of line string for this machine.

Class it.unimi.di.mg4j.query.parser.QueryParserException extends Exception implements Serializable

serialVersionUID: 1L

Class it.unimi.di.mg4j.query.parser.TokenMgrError extends Error implements Serializable

Serialized Fields

errorCode

int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values.


Package it.unimi.di.mg4j.search

Class it.unimi.di.mg4j.search.Index2IntervalIteratorMap extends AbstractReference2ReferenceMap<Index,IntervalIterator> implements Serializable

serialVersionUID: 1L

Serialized Fields

key

Index[] key
The keys (valid up to Index2IntervalIteratorMap.size, excluded).


value

IntervalIterator[] value
The values (parallel to Index2IntervalIteratorMap.key).


size

int size
The number of valid entries in Index2IntervalIteratorMap.key and Index2IntervalIteratorMap.value.


Package it.unimi.di.mg4j.tool

Class it.unimi.di.mg4j.tool.URLMPHVirtualDocumentResolver extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

url2DocumentPointer

StringMap<S extends CharSequence> url2DocumentPointer
The term map used by this resolver to associated URI strings to numbers.


Package it.unimi.di.mg4j.util.parser.callback

Class it.unimi.di.mg4j.util.parser.callback.AnchorExtractor.Anchor extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

href

MutableString href
The content of the href attribute for this anchor.


anchorText

MutableString anchorText
The text surrounding this anchor.