it.unimi.di.mg4j.index.cluster
Class DocumentalConcatenatedCluster

java.lang.Object
  extended by it.unimi.di.mg4j.index.Index
      extended by it.unimi.di.mg4j.index.cluster.IndexCluster
          extended by it.unimi.di.mg4j.index.cluster.DocumentalCluster
              extended by it.unimi.di.mg4j.index.cluster.DocumentalConcatenatedCluster
All Implemented Interfaces:
Serializable

public class DocumentalConcatenatedCluster
extends DocumentalCluster

A DocumentalCluster that concatenates the postings of its local indices.

This class assumes that the global document pointers returned by each index will be increasing. Using this assumption, no merge is performed; simply, when an index iterator is exhausted we look into the next one.

Author:
Alessandro Arrabito, Sebastiano Vigna
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class it.unimi.di.mg4j.index.cluster.IndexCluster
IndexCluster.PropertyKeys
 
Nested classes/interfaces inherited from class it.unimi.di.mg4j.index.Index
Index.EmptyIndexIterator, Index.UriKeys
 
Field Summary
 
Fields inherited from class it.unimi.di.mg4j.index.cluster.DocumentalCluster
allIndices, concatenated, DEFAULT_BUFFER_SIZE, flat, strategy
 
Fields inherited from class it.unimi.di.mg4j.index.cluster.IndexCluster
BLOOM_EXTENSION, localIndex, STRATEGY_DEFAULT_EXTENSION, termFilter
 
Fields inherited from class it.unimi.di.mg4j.index.Index
field, hasCounts, hasPayloads, hasPositions, keyIndex, maxCount, numberOfDocuments, numberOfOccurrences, numberOfPostings, numberOfTerms, payload, prefixMap, properties, singletonSet, sizes, termMap, termProcessor
 
Constructor Summary
DocumentalConcatenatedCluster(Index[] localIndex, DocumentalClusteringStrategy strategy, boolean flat, BloomFilter[] termFilter, int numberOfDocuments, int numberOfTerms, long numberOfPostings, long numberOfOccurences, int maxCount, Payload payload, boolean hasCounts, boolean hasPositions, TermProcessor termProcessor, String field, IntList sizes, Properties properties)
           
 
Method Summary
 
Methods inherited from class it.unimi.di.mg4j.index.cluster.DocumentalCluster
documents, getReader, toString
 
Methods inherited from class it.unimi.di.mg4j.index.cluster.IndexCluster
getInstance, keyIndex
 
Methods inherited from class it.unimi.di.mg4j.index.Index
documents, documents, getEmptyIndexIterator, getEmptyIndexIterator, getEmptyIndexIterator, getEmptyIndexIterator, getInstance, getInstance, getInstance, getInstance, getInstance, getReader, getTermProcessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentalConcatenatedCluster

public DocumentalConcatenatedCluster(Index[] localIndex,
                                     DocumentalClusteringStrategy strategy,
                                     boolean flat,
                                     BloomFilter[] termFilter,
                                     int numberOfDocuments,
                                     int numberOfTerms,
                                     long numberOfPostings,
                                     long numberOfOccurences,
                                     int maxCount,
                                     Payload payload,
                                     boolean hasCounts,
                                     boolean hasPositions,
                                     TermProcessor termProcessor,
                                     String field,
                                     IntList sizes,
                                     Properties properties)