org.elasticsearch.index.engine
Class Engine.Create

java.lang.Object
  extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.index.engine.Engine.Operation
Engine.Operation.Type
 
Constructor Summary
Engine.Create(ParsedDocument doc)
           
 
Method Summary
 org.apache.lucene.analysis.Analyzer analyzer()
           
 org.apache.lucene.document.Document doc()
           
 java.lang.String id()
           
 Engine.Operation.Type opType()
           
 ParsedDocument parsedDoc()
           
 boolean refresh()
           
 void refresh(boolean refresh)
           
 java.lang.String routing()
           
 byte[] source()
           
 java.lang.String type()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Engine.Create

public Engine.Create(ParsedDocument doc)
Method Detail

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)