Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
Modifier and Type | Method and Description |
---|---|
IndexCommit |
IndexReader.getIndexCommit()
Expert: return the IndexCommit that this reader has
opened.
|
Modifier and Type | Method and Description |
---|---|
static IndexReader |
IndexReader.open(IndexCommit commit)
Expert: returns a read/write IndexReader reading the index in the given
IndexCommit . |
static IndexReader |
IndexReader.open(IndexCommit commit,
IndexDeletionPolicy deletionPolicy)
Expert: returns a read/write IndexReader reading the index in the given
Directory, using a specific commit and with a custom
IndexDeletionPolicy . |
static IndexReader |
IndexReader.open(IndexCommit commit,
IndexDeletionPolicy deletionPolicy,
boolean readOnly)
Expert: returns a read/write or read only IndexReader reading the index in the given
Directory, using a specific commit and with a custom
IndexDeletionPolicy . |
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.