Package org.apache.hadoop.contrib.index.lucene

Examples of org.apache.hadoop.contrib.index.lucene.FileSystemDirectory$FileSystemIndexInput$Descriptor


  private void verify(Shard[] shards) throws IOException {
    // verify the index
    IndexReader[] readers = new IndexReader[shards.length];
    for (int i = 0; i < shards.length; i++) {
      Directory dir =
          new FileSystemDirectory(fs, new Path(shards[i].getDirectory()),
              false, conf);
      readers[i] = IndexReader.open(dir);
    }

    IndexReader reader = new MultiReader(readers);
View Full Code Here

TOP

Related Classes of org.apache.hadoop.contrib.index.lucene.FileSystemDirectory$FileSystemIndexInput$Descriptor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.