public class IndexSorter
extends java.lang.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 and Description |
|---|
IndexSorter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
void |
sort(org.apache.lucene.store.Directory input,
org.apache.lucene.store.Directory output,
java.lang.String field) |
public void sort(org.apache.lucene.store.Directory input,
org.apache.lucene.store.Directory output,
java.lang.String field)
throws java.io.IOException
java.io.IOExceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.