public class IndexSorter extends Object
NOTE: this tool is unaware of documents added
atomically via IndexWriter.addDocuments(java.util.Collection<org.apache.lucene.document.Document>) or IndexWriter.updateDocuments(org.apache.lucene.index.Term, java.util.Collection<org.apache.lucene.document.Document>), which means it can easily
break up such document groups.
| Constructor | Description |
|---|---|
IndexSorter() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
main(String[] args) |
|
void |
sort(org.apache.lucene.store.Directory input,
org.apache.lucene.store.Directory output,
String field) |
public void sort(org.apache.lucene.store.Directory input,
org.apache.lucene.store.Directory output,
String field)
throws IOException
IOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.