org.elasticsearch.index.engine
Class Engine.Index

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


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.index.engine.Engine.Operation
Engine.Operation.Type
 
Constructor Summary
Engine.Index(org.apache.lucene.index.Term uid, 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()
           
 org.apache.lucene.index.Term uid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Engine.Index

public Engine.Index(org.apache.lucene.index.Term uid,
                    ParsedDocument doc)
Method Detail

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)