|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use IndexCommit | |
|---|---|
| org.apache.lucene.index | Code to maintain and access indices. |
| Uses of IndexCommit in org.apache.lucene.index |
|---|
| Methods in org.apache.lucene.index that return IndexCommit | |
|---|---|
IndexCommit |
IndexReader.getIndexCommit()
Expert: return the IndexCommit that this reader has opened. |
| Methods in org.apache.lucene.index with parameters of type IndexCommit | |
|---|---|
static IndexReader |
IndexReader.open(IndexCommit commit)
Deprecated. Use IndexReader.open(IndexCommit, boolean) instead.
This method will be removed in the 3.0 release. |
static IndexReader |
IndexReader.open(IndexCommit commit,
boolean readOnly)
Expert: returns an IndexReader reading the index in the given IndexCommit. |
static IndexReader |
IndexReader.open(IndexCommit commit,
IndexDeletionPolicy deletionPolicy)
Deprecated. Use IndexReader.open(IndexCommit, IndexDeletionPolicy, boolean) instead.
This method will be removed in the 3.0 release. |
static IndexReader |
IndexReader.open(IndexCommit commit,
IndexDeletionPolicy deletionPolicy,
boolean readOnly)
Expert: returns an 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,
int termInfosIndexDivisor)
Expert: returns an IndexReader reading the index in the given Directory, using a specific commit and with a custom IndexDeletionPolicy. |
IndexReader |
IndexReader.reopen(IndexCommit commit)
Expert: reopen this reader on a specific commit point. |
Object |
SegmentInfos.FindSegmentsFile.run(IndexCommit commit)
|
| Constructors in org.apache.lucene.index with parameters of type IndexCommit | |
|---|---|
IndexWriter(Directory d,
Analyzer a,
IndexDeletionPolicy deletionPolicy,
IndexWriter.MaxFieldLength mfl,
IndexCommit commit)
Expert: constructs an IndexWriter on specific commit point, with a custom IndexDeletionPolicy, for
the index in d. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||