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)
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) |
Constructor and Description |
---|
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 . |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.