|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LockObtainFailedException | |
---|---|
org.apache.lucene.index | Code to maintain and access indices. |
org.apache.lucene.store | Binary i/o API, used for all index data. |
Uses of LockObtainFailedException in org.apache.lucene.index |
---|
Methods in org.apache.lucene.index that throw LockObtainFailedException | |
---|---|
void |
IndexReader.deleteDocument(int docNum)
Deletes the document numbered docNum . |
int |
IndexReader.deleteDocuments(Term term)
Deletes all documents that have a given term indexed. |
void |
IndexReader.setNorm(int doc,
String field,
byte value)
Expert: Resets the normalization factor for the named field of the named document. |
void |
IndexReader.setNorm(int doc,
String field,
float value)
Expert: Resets the normalization factor for the named field of the named document. |
void |
IndexReader.undeleteAll()
Undeletes all documents currently marked as deleted in this index. |
Constructors in org.apache.lucene.index that throw LockObtainFailedException | |
---|---|
IndexWriter(Directory d,
Analyzer a,
boolean create,
IndexDeletionPolicy deletionPolicy,
IndexWriter.MaxFieldLength mfl)
Expert: constructs an IndexWriter with a custom IndexDeletionPolicy , for the index in d . |
|
IndexWriter(Directory d,
Analyzer a,
boolean create,
IndexWriter.MaxFieldLength mfl)
Constructs an IndexWriter for the index in d . |
|
IndexWriter(Directory d,
Analyzer a,
IndexDeletionPolicy deletionPolicy,
IndexWriter.MaxFieldLength mfl)
Expert: constructs an IndexWriter with a custom IndexDeletionPolicy , for the index in d ,
first creating it if it does not already exist. |
|
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 . |
|
IndexWriter(Directory d,
Analyzer a,
IndexWriter.MaxFieldLength mfl)
Constructs an IndexWriter for the index in d , first creating it if it does not
already exist. |
Uses of LockObtainFailedException in org.apache.lucene.store |
---|
Methods in org.apache.lucene.store that throw LockObtainFailedException | |
---|---|
boolean |
Lock.obtain(long lockWaitTimeout)
Attempts to obtain an exclusive lock within amount of time given. |
Object |
Lock.With.run()
Calls Lock.With.doBody() while lock is obtained. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |