org.elasticsearch.index.engine
Class Engine.Index
java.lang.Object
org.elasticsearch.index.engine.Engine.Index
- All Implemented Interfaces:
- Engine.Operation
- Enclosing interface:
- Engine
public static class Engine.Index
- 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.Index
public Engine.Index(org.apache.lucene.index.Term uid,
ParsedDocument doc)
opType
public Engine.Operation.Type opType()
- Specified by:
opType
in interface Engine.Operation
uid
public org.apache.lucene.index.Term uid()
parsedDoc
public ParsedDocument parsedDoc()
doc
public org.apache.lucene.document.Document doc()
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()
source
public byte[] source()
refresh
public boolean refresh()
refresh
public void refresh(boolean refresh)