org.elasticsearch.index.engine
Class Engine.Index
java.lang.Object
org.elasticsearch.index.engine.Engine.Index
- All Implemented Interfaces:
- Engine.IndexingOperation, Engine.Operation
- Enclosing interface:
- Engine
public static class Engine.Index
- extends java.lang.Object
- implements Engine.IndexingOperation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Engine.Index
public Engine.Index(DocumentMapper docMapper,
org.apache.lucene.index.Term uid,
ParsedDocument doc)
docMapper
public DocumentMapper docMapper()
- Specified by:
docMapper
in interface Engine.IndexingOperation
opType
public Engine.Operation.Type opType()
- Specified by:
opType
in interface Engine.Operation
origin
public Engine.Index origin(Engine.Operation.Origin origin)
origin
public Engine.Operation.Origin origin()
- Specified by:
origin
in interface Engine.Operation
uid
public org.apache.lucene.index.Term uid()
parsedDoc
public ParsedDocument parsedDoc()
- Specified by:
parsedDoc
in interface Engine.IndexingOperation
version
public Engine.Index version(long version)
version
public long version()
versionType
public Engine.Index versionType(VersionType versionType)
versionType
public VersionType versionType()
doc
public org.apache.lucene.document.Document doc()
- Specified by:
doc
in interface Engine.IndexingOperation
analyzer
public org.apache.lucene.analysis.Analyzer analyzer()
id
public java.lang.String id()
type
public java.lang.String type()
routing
public java.lang.String routing()
parent
public java.lang.String parent()
source
public byte[] source()
uidField
public UidField uidField()