org.apache.lucene.store.instantiated
Class InstantiatedDocument
java.lang.Object
org.apache.lucene.store.instantiated.InstantiatedDocument
- All Implemented Interfaces:
- Serializable
public class InstantiatedDocument
- extends Object
- implements Serializable
A document in the instantiated index object graph, optionally coupled to the vector space view.
- See Also:
Document
,
Serialized Form
InstantiatedDocument
public InstantiatedDocument()
InstantiatedDocument
public InstantiatedDocument(Document document)
getDocumentNumber
public Integer getDocumentNumber()
- Returns:
- position of document in the index.
getVectorSpace
public Map<String,List<InstantiatedTermDocumentInformation>> getVectorSpace()
setVectorSpace
public void setVectorSpace(Map<String,List<InstantiatedTermDocumentInformation>> vectorSpace)
getDocument
public Document getDocument()
toString
public String toString()
- Overrides:
toString
in class Object