public class OnlineIndexReader extends AbstractIndexReader
The class is used to read indexing information from memory
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Field and Description |
|---|---|
protected OnlineIndexer |
indexer |
collection, collectionReader, docIndexList, docKeyList, docrelationMatrix, doctermMatrix, initialized, relationdocMatrix, relationIndexList, relationSupported, termdocMatrix, termIndexList, termKeyList| Constructor and Description |
|---|
OnlineIndexReader(OnlineIndexer indexer) |
OnlineIndexReader(OnlineIndexer indexer,
CollectionReader collectionReader) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
index(Indexer indexer,
CollectionReader collectionReader) |
void |
initialize()
It is required to call this method before reading out any indexing information.
|
void |
setCollectionReader(CollectionReader collectionReader) |
close, getCollection, getDoc, getDoc, getDocKey, getDocRelationMatrix, getDocTermMatrix, getIRRelation, getIRRelation, getIRTerm, getIRTerm, getIRTerm, getOriginalDoc, getOriginalDoc, getRelaitonDocMatrix, getRelationDocFrequencyList, getRelationDocIndexList, getRelationDocList, getRelationFrequencyList, getRelationIndexList, getRelationList, getTermDocFrequencyList, getTermDocIndexList, getTermDocList, getTermDocMatrix, getTermFrequencyList, getTermIndexList, getTermKey, getTermList, isRelationSupported, setIRDocKeyList, setIRTermKeyListprotected OnlineIndexer indexer
public OnlineIndexReader(OnlineIndexer indexer)
public OnlineIndexReader(OnlineIndexer indexer, CollectionReader collectionReader)
public void initialize()
IndexReaderpublic void setCollectionReader(CollectionReader collectionReader)
protected boolean index(Indexer indexer, CollectionReader collectionReader)
Copyright © 2018 JULIE Lab, Germany. All rights reserved.