org.elasticsearch.common.lucene
Class Directories
java.lang.Object
org.elasticsearch.common.lucene.Directories
public class Directories
- extends Object
A set of utilities for Lucene Directory
.
Method Summary |
static long |
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 |
estimateSize
public static long estimateSize(org.apache.lucene.store.Directory directory)
throws IOException
- Returns the estimated size of a
Directory
.
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.