org.apache.lucene.index
public class IndexSorter extends Object
NOTE: this tool is unaware of documents added
atomically via IndexWriter.addDocuments(java.util.Collection
or IndexWriter.updateDocuments(org.apache.lucene.index.Term, java.util.Collection
, which means it can easily
break up such document groups.
Constructor and Description |
---|
IndexSorter() |
public void sort(org.apache.lucene.store.Directory input, org.apache.lucene.store.Directory output, String field) throws IOException
IOException
Copyright © 2000–2018 JBoss by Red Hat. All rights reserved.