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
.
Method Summary |
static void |
deleteDocuments(org.apache.lucene.index.IndexReader reader,
org.apache.lucene.index.Term... term)
IndexReader doesn't currently supporting deleting documents based on multiple terms. |
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(org.apache.lucene.index.IndexReader reader,
org.apache.lucene.index.Term... term)
throws IOException
IndexReader
doesn't currently supporting deleting documents based on multiple terms. This method allows this.
- Throws:
IOException
Copyright © 2003-2012 Atlassian. All Rights Reserved.