Class MemoryFields
- java.lang.Object
-
- org.terrier.structures.Index
-
- org.terrier.realtime.memory.MemoryIndex
-
- org.terrier.realtime.memory.fields.MemoryFields
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,UpdatableIndex,WritableIndex
- Direct Known Subclasses:
MemoryFieldsIndex
public abstract class MemoryFields extends MemoryIndex
Super-type of fields index implementations.- Since:
- 4.0
- Author:
- Stuart Mackie
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.terrier.realtime.memory.MemoryIndex
MemoryIndex.Loader
-
Nested classes/interfaces inherited from class org.terrier.structures.Index
Index.DirectIndexRef
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Set<java.lang.String>docFieldsprotected FieldDocumentPostingListfdplprotected TermPipelinepipeline-
Fields inherited from class org.terrier.realtime.memory.MemoryIndex
blocks, compressionDirectConfig, compressionInvertedConfig, direct, docPostings, document, fieldIDs, fields, fieldtags, indexingLock, inverted, lexicon, logger, metadata, pipeline_first, PIPELINE_NAMESPACE, stats
-
-
Constructor Summary
Constructors Constructor Description MemoryFields()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldDocumentIndexgetDocumentIndex()Return the DocumentIndex associated with this indexprotected TermPipelinegetEndOfPipeline()FIXME-
Methods inherited from class org.terrier.realtime.memory.MemoryIndex
addToDocument, addToDocument, close, flush, getCollectionStatistics, getDirectIndex, getIndexRef, getIndexStructure, getIndexStructureInputStream, getInvertedIndex, getLexicon, getMetaIndex, hasIndexStructure, indexDocument, indexDocument, indexUnDocument, indexUnDocument, load_pipeline, makeDiskIndexWriter, removeDocument, toString, write
-
Methods inherited from class org.terrier.structures.Index
createIndex, createIndex, getEnd, getStart, hasIndexStructureInputStream, makeDirectIndexRef, setIndexLoadingProfileAsRetrieval
-
-
-
-
Field Detail
-
pipeline
protected TermPipeline pipeline
-
fdpl
protected FieldDocumentPostingList fdpl
-
docFields
protected java.util.Set<java.lang.String> docFields
-
-
Method Detail
-
getDocumentIndex
public FieldDocumentIndex getDocumentIndex()
Return the DocumentIndex associated with this index- Overrides:
getDocumentIndexin classMemoryIndex
-
getEndOfPipeline
protected TermPipeline getEndOfPipeline()
Description copied from class:MemoryIndexFIXME- Overrides:
getEndOfPipelinein classMemoryIndex
-
-