com.atlassian.confluence.search.lucene
Class IndexReaderUtils
java.lang.Object
com.atlassian.confluence.search.lucene.IndexReaderUtils
public class IndexReaderUtils
- extends Object
Utility class for extensions to lucene's IndexReader
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexReaderUtils
public IndexReaderUtils()
deleteDocuments
public static void deleteDocuments(IndexReader reader,
Term... term)
throws IOException
IndexReader
doesn't currently supporting deleting documents based on multiple terms. This method allows this.
- Throws:
IOException