org.elasticsearch.common.lucene
Class Directories

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

public class Directories
extends java.lang.Object

A set of utilities for Lucene Directory.


Method Summary
static ByteSizeValue estimateSize(org.apache.lucene.store.Directory directory)
          Returns the estimated size of a Directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

estimateSize

public static ByteSizeValue estimateSize(org.apache.lucene.store.Directory directory)
                                  throws java.io.IOException
Returns the estimated size of a Directory.

Throws:
java.io.IOException