org.elasticsearch.index.mapper
Class ParsedDocument
java.lang.Object
org.elasticsearch.index.mapper.ParsedDocument
public class ParsedDocument
- extends Object
The result of parsing a document.
Constructor Summary |
ParsedDocument(String uid,
String id,
String type,
String routing,
long timestamp,
long ttl,
org.apache.lucene.document.Document document,
org.apache.lucene.analysis.Analyzer analyzer,
BytesReference source,
boolean mappingsModified)
|
ParsedDocument(String uid,
String id,
String type,
String routing,
long timestamp,
long ttl,
List<org.apache.lucene.document.Document> documents,
org.apache.lucene.analysis.Analyzer analyzer,
BytesReference source,
boolean mappingsModified)
|
ParsedDocument
public ParsedDocument(String uid,
String id,
String type,
String routing,
long timestamp,
long ttl,
org.apache.lucene.document.Document document,
org.apache.lucene.analysis.Analyzer analyzer,
BytesReference source,
boolean mappingsModified)
ParsedDocument
public ParsedDocument(String uid,
String id,
String type,
String routing,
long timestamp,
long ttl,
List<org.apache.lucene.document.Document> documents,
org.apache.lucene.analysis.Analyzer analyzer,
BytesReference source,
boolean mappingsModified)
uid
public String uid()
id
public String id()
type
public String type()
routing
public String routing()
timestamp
public long timestamp()
ttl
public long ttl()
rootDoc
public org.apache.lucene.document.Document rootDoc()
docs
public List<org.apache.lucene.document.Document> docs()
analyzer
public org.apache.lucene.analysis.Analyzer analyzer()
source
public BytesReference source()
parent
public ParsedDocument parent(String parent)
parent
public String parent()
mappingsModified
public boolean mappingsModified()
- Has the parsed document caused mappings to be modified?
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012. All Rights Reserved.