org.elasticsearch.common.lucene
Class IndexWriters

java.lang.Object
  extended by org.elasticsearch.common.lucene.IndexWriters

public abstract class IndexWriters
extends java.lang.Object


Method Summary
static long estimateRamSize(org.apache.lucene.index.IndexWriter indexWriter)
           
static org.apache.lucene.index.SegmentInfos rollbackSegmentInfos(org.apache.lucene.index.IndexWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

rollbackSegmentInfos

public static org.apache.lucene.index.SegmentInfos rollbackSegmentInfos(org.apache.lucene.index.IndexWriter writer)
                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

estimateRamSize

public static long estimateRamSize(org.apache.lucene.index.IndexWriter indexWriter)
                            throws java.lang.Exception
Throws:
java.lang.Exception