org.elasticsearch.index.engine
Class Engine.Create
java.lang.Object
org.elasticsearch.index.engine.Engine.Create
- All Implemented Interfaces:
- Engine.Operation
- Enclosing interface:
- Engine
public static class Engine.Create
- extends java.lang.Object
- implements Engine.Operation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Engine.Create
public Engine.Create(ParsedDocument doc)
opType
public Engine.Operation.Type opType()
- Specified by:
opType
in interface Engine.Operation
parsedDoc
public ParsedDocument parsedDoc()
type
public java.lang.String type()
id
public java.lang.String id()
routing
public java.lang.String routing()
doc
public org.apache.lucene.document.Document doc()
analyzer
public org.apache.lucene.analysis.Analyzer analyzer()
source
public byte[] source()
refresh
public boolean refresh()
refresh
public void refresh(boolean refresh)