public interface Index
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the index.
|
int |
count(IndexToken token)
Returns the (approximate/estimated) number of hits for the specified token.
|
EntryIterator |
entries(byte[] prefix)
Returns all entries that start with the specified prefix.
|
byte[] |
info()
Returns information on the index structure.
|
IndexIterator |
iter(IndexToken token)
Returns an iterator for the index results.
|
byte[] info()
EntryIterator entries(byte[] prefix)
prefix - prefixIndexIterator iter(IndexToken token)
token - token to be foundint count(IndexToken token)
token - token to be foundvoid close()
throws java.io.IOException
java.io.IOException - I/O exception