org.elasticsearch.index.mapper
Class ParsedDocument
java.lang.Object
org.elasticsearch.index.mapper.ParsedDocument
public class ParsedDocument
- extends java.lang.Object
Constructor Summary |
ParsedDocument(java.lang.String uid,
java.lang.String id,
java.lang.String type,
org.apache.lucene.document.Document document,
byte[] source,
boolean mappersAdded)
|
Method Summary |
org.apache.lucene.document.Document |
doc()
|
java.lang.String |
id()
|
boolean |
mappersAdded()
Has the parsed document caused for new mappings to be added. |
byte[] |
source()
|
java.lang.String |
toString()
|
java.lang.String |
type()
|
java.lang.String |
uid()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ParsedDocument
public ParsedDocument(java.lang.String uid,
java.lang.String id,
java.lang.String type,
org.apache.lucene.document.Document document,
byte[] source,
boolean mappersAdded)
uid
public java.lang.String uid()
id
public java.lang.String id()
type
public java.lang.String type()
doc
public org.apache.lucene.document.Document doc()
source
public byte[] source()
mappersAdded
public boolean mappersAdded()
- Has the parsed document caused for new mappings to be added.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object