public class MemoryFieldsIndex extends MemoryFields
Index.UpdatingCollectionStatisticsdocFields, fdpl, pipelineblocks, compressionConfig, docPostings, document, fieldIDs, fields, fieldtags, indexingLock, inverted, lexicon, logger, metadata, pipeline_first, PIPELINE_NAMESPACE, statsdirtyProperties, EMPTY_CLASS_ARRAY, lastLoadError, MINIMUM_INDEX_TERRIER_VERSION, properties, PROPERTIES_SUFFIX, RETRIEVAL_LOADING_PROFILE| Constructor and Description |
|---|
MemoryFieldsIndex()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
indexDocument(Document doc)
Index a new document.
|
void |
indexDocument(Map<String,String> docProperties,
DocumentPostingList docContents)
Index a new document.
|
Index |
merge(String diskpath,
String diskprefix,
String newpath,
String newprefix)
Not implemented.
|
Index |
write(String path,
String prefix)
Write index structures to disk.
|
collectProperties, getDocumentIndex, getEndOfPipelineaddToDocument, addToDocument, close, flush, getCollectionStatistics, getDirectIndex, getIndexStructure, getIndexStructureInputStream, getInvertedIndex, getLexicon, getMetaIndex, load_pipeline, removeDocument, toStringaddIndexStructure, addIndexStructure, addIndexStructure, addIndexStructure, addIndexStructureInputStream, addIndexStructureInputStream, addIndexStructureInputStream, addIndexStructureInputStream, allExists, createIndex, createIndex, createNewIndex, existsIndex, getEnd, getIndexLoadingProfileAsRetrieval, getIndexProperty, getIntIndexProperty, getLastIndexLoadError, getProperties, getStart, hasIndexStructure, hasIndexStructureInputStream, join, main, setIndexLoadingProfileAsRetrieval, setIndexPropertypublic void indexDocument(Map<String,String> docProperties, DocumentPostingList docContents) throws Exception
indexDocument in interface UpdatableIndexindexDocument in class MemoryIndexExceptionpublic void indexDocument(Document doc) throws Exception
indexDocument in interface UpdatableIndexindexDocument in class MemoryIndexExceptionpublic Index write(String path, String prefix) throws IOException
write in interface WritableIndexwrite in class MemoryIndexIOExceptionpublic Index merge(String diskpath, String diskprefix, String newpath, String newprefix) throws IOException
IOExceptionTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow