Uses of Class
org.terrier.structures.IndexOnDisk
-
Packages that use IndexOnDisk Package Description org.terrier.realtime.incremental Provides incremental indexing functionality.org.terrier.realtime.memory Provides MemoryIndex structures.org.terrier.structures Provides the interfaces for the index data structures used for retrieval with the Terrier platform.org.terrier.structures.bit Provides on-disk index structures that support the older bit-level compression scheme.org.terrier.structures.collections Provides data structures various data structures.org.terrier.structures.indexing Provides the classes used for creating the data structures of the Terrier platform.org.terrier.structures.indexing.classical Provides functionality for creating on-disk indices via indexer classes.org.terrier.structures.indexing.singlepass Provides implementation of the structures needed for performing a single pass indexingorg.terrier.structures.merging Provides classes for merging two sets of data structures, created by Terrier, into one set of data structures.org.terrier.tests -
-
Uses of IndexOnDisk in org.terrier.realtime.incremental
Methods in org.terrier.realtime.incremental with parameters of type IndexOnDisk Modifier and Type Method Description voidIncrementalDeletePolicy. deleteIndex(IndexOnDisk index) -
Uses of IndexOnDisk in org.terrier.realtime.memory
Constructors in org.terrier.realtime.memory with parameters of type IndexOnDisk Constructor Description MemoryIndex(IndexOnDisk superIndex)MemoryIndex(IndexOnDisk superIndex, boolean compressedMeta)Create a memory index from an existing on-disk index. -
Uses of IndexOnDisk in org.terrier.structures
Fields in org.terrier.structures declared as IndexOnDisk Modifier and Type Field Description protected IndexOnDiskFSOMapFileLexiconOutputStreamGeneric. indexMethods in org.terrier.structures that return IndexOnDisk Modifier and Type Method Description static IndexOnDiskPropertiesIndex. createIndex()Constructs a new Index object.static IndexOnDiskPropertiesIndex. createIndex(java.lang.String path, java.lang.String prefix)Factory method for load an index.static IndexOnDiskPropertiesIndex. createNewIndex(java.lang.String path, java.lang.String prefix)Factory method create a new index.static IndexOnDiskIndexUtil. reOpenIndex(Index index)static IndexOnDiskIndexUtil. reOpenIndex(IndexOnDisk index)Reopen an existing indexMethods in org.terrier.structures with parameters of type IndexOnDisk Modifier and Type Method Description static voidFSOMapFileLexiconOutputStream. addLexiconToIndex(IndexOnDisk index, java.lang.String structureName, java.lang.String leValueClassname)Adds Lexicon to indexstatic voidFSOMapFileLexiconOutputStreamGeneric. addLexiconToIndex(IndexOnDisk index, java.lang.String structureName, java.lang.Class<? extends Lexicon<?>> lexClass, java.lang.Class<? extends java.util.Iterator<?>> lexInputStreamClass, java.lang.Class<? extends java.util.Iterator<LexiconEntry>> lexEntryInputStreamClass, java.lang.String leValueClassname)Adds Lexicon to indexstatic booleanIndexUtil. copyStructure(IndexOnDisk sourceIndex, IndexOnDisk destIndex, java.lang.String sourceStructureName, java.lang.String destinationStructureName)Copies an index structure from one index to another.static booleanIndexUtil. deleteStructure(IndexOnDisk index, java.lang.String structureName)Delete the named structure from the specified index.protected voidFSADocumentIndex. initialise(IndexOnDisk index, java.lang.String structureName)protected voidFSAFieldDocumentIndex. initialise(IndexOnDisk index, java.lang.String structureName)static booleanIndexUtil. isStructureOpen(IndexOnDisk index, java.lang.String structureName)Checks the underlying structurecache of the specificed index to see if the named index structure is there.protected voidBaseCompressingMetaIndex. loadIndex(IndexOnDisk index, java.lang.String structureName)static IndexOnDiskIndexUtil. reOpenIndex(IndexOnDisk index)Reopen an existing indexConstructors in org.terrier.structures with parameters of type IndexOnDisk Constructor Description BaseCompressingMetaIndex(IndexOnDisk index, java.lang.String structureName)Construct an instance of the class withCompressingMetaIndex(IndexOnDisk index, java.lang.String structureName)FSADocumentIndex(IndexOnDisk index, java.lang.String structureName)Construct an instance of the class withFSADocumentIndex(IndexOnDisk index, java.lang.String structureName, boolean initialise)FSADocumentIndexInMem(IndexOnDisk index, java.lang.String structureName)FSADocumentIndexInMemFields(IndexOnDisk index, java.lang.String structureName)FSADocumentIndexIterator(IndexOnDisk index, java.lang.String structureName)Construct an instance of the class withFSAFieldDocumentIndex(IndexOnDisk index, java.lang.String structureName)Construct an instance of the class withFSOMapFileLexicon(java.lang.String structureName, IndexOnDisk index)Construct a new FSOMapFileLexiconFSOMapFileLexiconOutputStream(IndexOnDisk _index, java.lang.String _structureName, java.lang.Class<? extends FixedSizeWriteableFactory<LexiconEntry>> valueFactoryClass)FSOMapFileLexiconOutputStream(IndexOnDisk _index, java.lang.String _structureName, FixedSizeWriteableFactory<org.apache.hadoop.io.Text> _keyFactory, java.lang.Class<? extends FixedSizeWriteableFactory<LexiconEntry>> valueFactoryClass)FSOMapFileLexiconOutputStream(IndexOnDisk _index, java.lang.String _structureName, FixedSizeWriteableFactory<org.apache.hadoop.io.Text> _keyFactory, java.lang.String valueFactoryClassName)FSOMapFileLexiconOutputStreamGeneric(IndexOnDisk _index, java.lang.String _structureName, java.lang.Class<? extends FixedSizeWriteableFactory<LexiconEntry>> valueFactoryClass)FSOMapFileLexiconOutputStreamGeneric(IndexOnDisk _index, java.lang.String _structureName, FixedSizeWriteableFactory<T2> _keyFactory, java.lang.Class<? extends FixedSizeWriteableFactory<LexiconEntry>> valueFactoryClass)FSOMapFileLexiconOutputStreamGeneric(IndexOnDisk _index, java.lang.String _structureName, FixedSizeWriteableFactory<T2> _keyFactory, java.lang.String valueFactoryClassName)InputStream(IndexOnDisk _index, java.lang.String structureName)Constructs an instance of the class withInputStream(IndexOnDisk _index, java.lang.String _structureName, int _startingId, int _endId)Constructs an instance of the class withInputStream(IndexOnDisk _index, java.lang.String _structureName)InputStream(IndexOnDisk _index, java.lang.String _structureName, int _startingId, int _endId)InputStream(IndexOnDisk _index, java.lang.String structureName)InputStream(IndexOnDisk _index, java.lang.String _structureName, int _startingId, int _endId)InputStream(IndexOnDisk _index, java.lang.String structureName)InputStream(IndexOnDisk _index, java.lang.String _structureName, int _startingId, int _endId)InputStream(IndexOnDisk _index, java.lang.String structureName)InputStream(IndexOnDisk _index, java.lang.String _structureName, int _startingId, int _endId)LZ4CompressedMetaIndex(IndexOnDisk index, java.lang.String structureName)MapFileLexiconEntryIterator(java.lang.String structureName, IndexOnDisk index)MapFileLexiconEntryIterator(java.lang.String structureName, IndexOnDisk index)Construct an instance of the class withMapFileLexiconIterator(java.lang.String structureName, IndexOnDisk index)MapFileLexiconIterator(java.lang.String structureName, IndexOnDisk index)Construct an instance of the class withUncompressedMetaIndex(IndexOnDisk index, java.lang.String structureName)ZstdCompressedMetaIndex(IndexOnDisk index, java.lang.String structureName) -
Uses of IndexOnDisk in org.terrier.structures.bit
Fields in org.terrier.structures.bit declared as IndexOnDisk Modifier and Type Field Description protected IndexOnDiskBitPostingIndex. indexprotected IndexOnDiskBitPostingIndexInputStream. indexMethods in org.terrier.structures.bit with parameters of type IndexOnDisk Modifier and Type Method Description static java.lang.StringBitPostingIndexInputStream. getFilename(IndexOnDisk _index, java.lang.String structureName, byte fileCount, byte fileId)Returns filenameConstructors in org.terrier.structures.bit with parameters of type IndexOnDisk Constructor Description BitPostingIndex(IndexOnDisk _index, java.lang.String _structureName, java.lang.Class<? extends IterablePosting> _postingImplementation)Constructs an instance of the BitPostingIndex.BitPostingIndex(IndexOnDisk _index, java.lang.String _structureName, DocumentIndex _documentIndex, java.lang.Class<? extends IterablePosting> _postingImplementation)Constructs an instance of the BitPostingIndex.BitPostingIndexInputStream(IndexOnDisk _index, java.lang.String _structureName, java.util.Iterator<? extends BitIndexPointer> _pointerList, java.lang.Class<? extends IterablePosting> _postingIteratorClass)Constructs an instance of BitPostingIndexInputStream. -
Uses of IndexOnDisk in org.terrier.structures.collections
Constructors in org.terrier.structures.collections with parameters of type IndexOnDisk Constructor Description ArrayFileIterator(IndexOnDisk index, java.lang.String structureName)constructorFSArrayFile(IndexOnDisk index, java.lang.String structureName)constructorFSArrayFileInMem(IndexOnDisk index, java.lang.String structureName)FSOrderedMapFile(IndexOnDisk index, java.lang.String structureName)constructor -
Uses of IndexOnDisk in org.terrier.structures.indexing
Fields in org.terrier.structures.indexing declared as IndexOnDisk Modifier and Type Field Description protected IndexOnDiskIndexer. currentIndexThe index being worked on, denoted by path and prefixprotected IndexOnDiskBaseMetaIndexBuilder. indexprotected IndexOnDiskDocumentIndexBuilder. indexindex object of the index currently being createdprotected IndexOnDiskLexiconBuilder. indexMethods in org.terrier.structures.indexing that return IndexOnDisk Modifier and Type Method Description IndexOnDiskDiskIndexWriter. write(Index source)Methods in org.terrier.structures.indexing with parameters of type IndexOnDisk Modifier and Type Method Description protected voidDiskIndexWriter. collectProperties(Index source, IndexOnDisk index, CompressionFactory.CompressionConfiguration compressionConfigInverted, CompressionFactory.CompressionConfiguration compressionConfigDirect)static MetaIndexBuilderMetaIndexBuilder. create(java.lang.String metaBuilderName, IndexOnDisk index, java.lang.String[] forwardMetaKeys, int[] metaKeyLengths, java.lang.String[] reverseMetaKeys)Factory method - create a MetaIndexBuilder from a given namestatic voidLexiconBuilder. createLexiconHash(IndexOnDisk index)Deprecated.use optimise insteadstatic voidLexiconBuilder. createLexiconIndex(IndexOnDisk index)Deprecated.use optimise insteadstatic voidFSOMapFileLexiconUtilities. optimise(java.lang.String structureName, IndexOnDisk index, LexiconBuilder.CollectionStatisticsCounter statsCounter)Does two things to a FSOMapFileLexicon: adds the termid lookup file (if required), and also creates the lexicon has file.static voidFSOMapFileLexiconUtilities. optimise(java.lang.String structureName, IndexOnDisk index, LexiconBuilder.CollectionStatisticsCounter statsCounter, int numEntries)optimisestatic voidLexiconBuilder. optimise(IndexOnDisk index, java.lang.String structureName)Optimises the lexicon, eg lexid filestatic voidLexiconBuilder. reAssignTermIds(IndexOnDisk index, java.lang.String structureName, int numEntries)Re-assigned the termids within the named lexicon structure to be ascending with descending term frequency, i.e.Constructors in org.terrier.structures.indexing with parameters of type IndexOnDisk Constructor Description BaseMetaIndexBuilder(IndexOnDisk _index, java.lang.String[] _keyNames, int[] _valueLens, java.lang.String[] _reverseKeys)constructorBaseMetaIndexBuilder(IndexOnDisk _index, java.lang.String _structureName, java.lang.String[] _keyNames, int[] _valueLens, java.lang.String[] _reverseKeys)constructorCompressingMetaIndexBuilder(IndexOnDisk _index, java.lang.String[] _keyNames, int[] _valueLens, java.lang.String[] _reverseKeys)CompressingMetaIndexBuilder(IndexOnDisk _index, java.lang.String _structureName, java.lang.String[] _keyNames, int[] _valueLens, java.lang.String[] _reverseKeys)DocumentIndexBuilder(IndexOnDisk i, java.lang.String _structureName)Deprecated.DocumentIndexBuilder(IndexOnDisk i, java.lang.String _structureName, boolean fields)Construct a DocumentIndex associated with the specified indexFieldLexiconCollectionStaticticsCounter(IndexOnDisk _index, int _numFields)LexiconBuilder(IndexOnDisk i, java.lang.String _structureName, java.lang.Class<? extends LexiconMap> _LexiconMapClass, java.lang.String _lexiconEntryClass, TermCodes termCodes)constructorLexiconBuilder(IndexOnDisk i, java.lang.String _structureName, LexiconMap lexiconMap, java.lang.String _lexiconEntryClass, java.lang.String valueFactoryParamTypes, java.lang.String valueFactoryParamValues, TermCodes _termCodes)constructorLexiconBuilder(IndexOnDisk i, java.lang.String _structureName, LexiconMap lexiconMap, java.lang.String _lexiconEntryClass, TermCodes termCodes)constructorLexiconBuilder(IndexOnDisk i, java.lang.String _structureName, TermCodes tc)constructorLZ4MetaIndexBuilder(IndexOnDisk _index, java.lang.String[] _keyNames, int[] _valueLens, java.lang.String[] _reverseKeys)LZ4MetaIndexBuilder(IndexOnDisk _index, java.lang.String _structureName, java.lang.String[] _keyNames, int[] _valueLens, java.lang.String[] _reverseKeys)UncompressedMetaIndexBuilder(IndexOnDisk _index, java.lang.String[] _keyNames, int[] _valueLens, java.lang.String[] _reverseKeys)UncompressedMetaIndexBuilder(IndexOnDisk _index, java.lang.String _structureName, java.lang.String[] _keyNames, int[] _valueLens, java.lang.String[] _reverseKeys)ZstdMetaIndexBuilder(IndexOnDisk _index, java.lang.String[] _keyNames, int[] _valueLens, java.lang.String[] _reverseKeys)ZstdMetaIndexBuilder(IndexOnDisk _index, java.lang.String _structureName, java.lang.String[] _keyNames, int[] _valueLens, java.lang.String[] _reverseKeys) -
Uses of IndexOnDisk in org.terrier.structures.indexing.classical
Fields in org.terrier.structures.indexing.classical declared as IndexOnDisk Modifier and Type Field Description protected IndexOnDiskInvertedIndexBuilder. indexConstructors in org.terrier.structures.indexing.classical with parameters of type IndexOnDisk Constructor Description BlockInvertedIndexBuilder(IndexOnDisk index, java.lang.String structureName, CompressionFactory.CompressionConfiguration compressionConfig)constructorInvertedIndexBuilder(IndexOnDisk i, java.lang.String _structureName, CompressionFactory.CompressionConfiguration compressionConfig)contructor -
Uses of IndexOnDisk in org.terrier.structures.indexing.singlepass
Fields in org.terrier.structures.indexing.singlepass declared as IndexOnDisk Modifier and Type Field Description protected IndexOnDiskInverted2DirectIndexBuilder. indexindex currently being usedConstructors in org.terrier.structures.indexing.singlepass with parameters of type IndexOnDisk Constructor Description BlockInverted2DirectIndexBuilder(IndexOnDisk i)constructorInverted2DirectIndexBuilder(IndexOnDisk i)Construct a new instance of this builder class -
Uses of IndexOnDisk in org.terrier.structures.merging
Fields in org.terrier.structures.merging declared as IndexOnDisk Modifier and Type Field Description protected IndexOnDiskLexiconMerger. destIndexprotected IndexOnDiskStructureMerger. destIndexdestination indexprotected IndexOnDiskLexiconMerger. srcIndex1protected IndexOnDiskStructureMerger. srcIndex1source index 1protected IndexOnDiskLexiconMerger. srcIndex2protected IndexOnDiskStructureMerger. srcIndex2source index 2Methods in org.terrier.structures.merging with parameters of type IndexOnDisk Modifier and Type Method Description voidStructureMerger. setOutputIndex(IndexOnDisk _outputIndex)Sets the output index.Constructors in org.terrier.structures.merging with parameters of type IndexOnDisk Constructor Description BlockStructureMerger(IndexOnDisk _srcIndex1, IndexOnDisk _srcIndex2, IndexOnDisk _destIndex)constructorLexiconMerger(IndexOnDisk src1, IndexOnDisk src2, IndexOnDisk dest)A constructor that sets the filenames of the lexicon files to mergeStructureMerger(IndexOnDisk _srcIndex1, IndexOnDisk _srcIndex2, IndexOnDisk _destIndex)constructor -
Uses of IndexOnDisk in org.terrier.tests
Methods in org.terrier.tests with parameters of type IndexOnDisk Modifier and Type Method Description protected abstract voidBatchEndToEndTest. addDirectStructure(IndexOnDisk index)
-