|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TextIndex
A TextIndex allows free text searching on the Database.
Method Summary | |
---|---|
void |
add(BitSet indices,
String phrase)
Add the specified indices to the TextIndex, keyed on phrase |
void |
add(int index,
String phrase)
Add the specified index to the TextIndex, keyed on phrase |
void |
clear(BitSet set)
Remove the specified indices from the TextIndex |
void |
clear(int index)
Remove the specified index from the TextIndex |
BitSet |
get(String substring)
Return a BitSet containing the indices that were added with a phrase containing the specified substring. |
void |
load(InputStream in)
Load the TextIndex from the specified InputStream |
void |
save(OutputStream out)
Save the TextIndex to the specified OutputStream |
Method Detail |
---|
void add(BitSet indices, String phrase)
void add(int index, String phrase)
void clear(int index)
void clear(BitSet set)
BitSet get(String substring)
void save(OutputStream out) throws IOException
IOException
void load(InputStream in) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |