public class FilterIndexReaderByStringId
extends org.apache.lucene.index.FilterIndexReader
| Modifier and Type | Class and Description |
|---|---|
class |
FilterIndexReaderByStringId.FilterTermDocs
Filter implementation
|
class |
FilterIndexReaderByStringId.FilterTermPositions
Base class for filtering
TermPositions implementations. |
| Constructor and Description |
|---|
FilterIndexReaderByStringId(java.lang.String id,
org.apache.lucene.index.IndexReader reader,
java.util.Set deletions,
java.util.Set containerDeletions,
boolean deleteNodesOnly)
Apply the filter
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose() |
org.apache.lucene.util.OpenBitSet |
getDeletedDocuments() |
int |
numDocs() |
org.apache.lucene.index.TermDocs |
termDocs() |
org.apache.lucene.index.TermPositions |
termPositions() |
directory, docFreq, doCommit, document, doDelete, doSetNorm, doUndeleteAll, getFieldNames, getTermFreqVector, getTermFreqVector, getTermFreqVector, getTermFreqVectors, getVersion, hasDeletions, hasNorms, isCurrent, isDeleted, isOptimized, maxDoc, norms, norms, terms, termsacquireWriteLock, close, commit, decRef, deleteDocument, deleteDocuments, document, ensureOpen, flush, getCurrentVersion, getCurrentVersion, getCurrentVersion, getIndexCommit, getTermInfosIndexDivisor, incRef, indexExists, indexExists, indexExists, isLocked, isLocked, lastModified, lastModified, lastModified, listCommits, main, numDeletedDocs, open, open, open, open, open, open, open, open, open, reopen, setNorm, setNorm, setTermInfosIndexDivisor, termDocs, termPositions, undeleteAll, unlockpublic FilterIndexReaderByStringId(java.lang.String id,
org.apache.lucene.index.IndexReader reader,
java.util.Set deletions,
java.util.Set containerDeletions,
boolean deleteNodesOnly)
id - reader - deletions - deleteNodesOnly - public org.apache.lucene.util.OpenBitSet getDeletedDocuments()
protected void doClose()
throws java.io.IOException
doClose in class org.apache.lucene.index.FilterIndexReaderjava.io.IOExceptionpublic int numDocs()
numDocs in class org.apache.lucene.index.FilterIndexReaderpublic org.apache.lucene.index.TermDocs termDocs()
throws java.io.IOException
termDocs in class org.apache.lucene.index.FilterIndexReaderjava.io.IOExceptionpublic org.apache.lucene.index.TermPositions termPositions()
throws java.io.IOException
termPositions in class org.apache.lucene.index.FilterIndexReaderjava.io.IOExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.