Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.store |
Binary i/o API, used for all index data.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexReader.deleteDocument(int docNum)
Deprecated.
Write support will be removed in Lucene 4.0.
Use
IndexWriter.deleteDocuments(Term) instead |
int |
IndexReader.deleteDocuments(Term term)
Deprecated.
Write support will be removed in Lucene 4.0.
Use
IndexWriter.deleteDocuments(Term) instead |
void |
IndexReader.setNorm(int doc,
String field,
byte value)
Deprecated.
Write support will be removed in Lucene 4.0.
There will be no replacement for this method.
|
void |
IndexReader.setNorm(int doc,
String field,
float value)
Deprecated.
Write support will be removed in Lucene 4.0.
There will be no replacement for this method.
|
void |
IndexReader.undeleteAll()
Deprecated.
Write support will be removed in Lucene 4.0.
There will be no replacement for this method.
|
Modifier and Type | Method and Description |
---|---|
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. |