|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.index.IndexReader
org.apache.lucene.index.FilterIndexReader
org.alfresco.repo.search.impl.lucene.FilterIndexReaderByStringId
public class FilterIndexReaderByStringId
An index reader that filters documents from another.
Nested Class Summary | |
---|---|
class |
FilterIndexReaderByStringId.FilterTermDocs
Filter implementation |
class |
FilterIndexReaderByStringId.FilterTermPositions
Base class for filtering TermPositions implementations. |
Nested classes/interfaces inherited from class org.apache.lucene.index.FilterIndexReader |
---|
org.apache.lucene.index.FilterIndexReader.FilterTermEnum |
Nested classes/interfaces inherited from class org.apache.lucene.index.IndexReader |
---|
org.apache.lucene.index.IndexReader.FieldOption |
Field Summary |
---|
Fields inherited from class org.apache.lucene.index.FilterIndexReader |
---|
in |
Fields inherited from class org.apache.lucene.index.IndexReader |
---|
hasChanges |
Constructor Summary | |
---|---|
FilterIndexReaderByStringId(java.lang.String id,
org.apache.lucene.index.IndexReader reader,
java.util.Set deletions,
java.util.Set containerDeletions,
boolean deleteNodesOnly)
Apply the filter |
Method Summary | |
---|---|
protected void |
doClose()
|
org.apache.lucene.util.OpenBitSet |
getDeletedDocuments()
|
int |
numDocs()
|
org.apache.lucene.index.TermDocs |
termDocs()
|
org.apache.lucene.index.TermPositions |
termPositions()
|
Methods inherited from class org.apache.lucene.index.FilterIndexReader |
---|
directory, docFreq, doCommit, document, doDelete, doSetNorm, doUndeleteAll, getFieldNames, getTermFreqVector, getTermFreqVector, getTermFreqVector, getTermFreqVectors, getVersion, hasDeletions, hasNorms, isCurrent, isDeleted, isOptimized, maxDoc, norms, norms, terms, terms |
Methods inherited from class org.apache.lucene.index.IndexReader |
---|
acquireWriteLock, 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, unlock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public 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
- Method Detail |
---|
public org.apache.lucene.util.OpenBitSet getDeletedDocuments()
protected void doClose() throws java.io.IOException
doClose
in class org.apache.lucene.index.FilterIndexReader
java.io.IOException
public int numDocs()
numDocs
in class org.apache.lucene.index.FilterIndexReader
public org.apache.lucene.index.TermDocs termDocs() throws java.io.IOException
termDocs
in class org.apache.lucene.index.FilterIndexReader
java.io.IOException
public org.apache.lucene.index.TermPositions termPositions() throws java.io.IOException
termPositions
in class org.apache.lucene.index.FilterIndexReader
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |