|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MultiIndexReader
MultiIndexReader exposes methods to get access to the contained
IndexReaders of this MultiIndexReader.
| Method Summary | |
|---|---|
org.apache.jackrabbit.core.query.lucene.ForeignSegmentDocId |
createDocId(NodeId id)
Creates a document id for the given node identifier. |
int |
getDocumentNumber(org.apache.jackrabbit.core.query.lucene.ForeignSegmentDocId docId)
Returns the document number for the passed docId. |
org.apache.lucene.index.IndexReader[] |
getIndexReaders()
|
| Methods inherited from interface org.apache.jackrabbit.core.query.lucene.ReleaseableIndexReader |
|---|
release |
| Method Detail |
|---|
org.apache.lucene.index.IndexReader[] getIndexReaders()
IndexReaders that are contained in this
MultiIndexReader.
org.apache.jackrabbit.core.query.lucene.ForeignSegmentDocId createDocId(NodeId id)
throws IOException
id - the id of the node.
null if there is no node
with the given id.
IOException - if an error occurs while reading from the index.
int getDocumentNumber(org.apache.jackrabbit.core.query.lucene.ForeignSegmentDocId docId)
throws IOException
docId. If the id
is invalid -1 is returned.
docId - the document id to resolve.
-1 if it is invalid (e.g.
does not exist).
IOException - if an error occurs while reading from the index.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||