|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LuceneSession
Method Summary | |
---|---|
LuceneWriter |
beginAppend()
Adds documents to index. |
LuceneWriter |
beginReset()
Resets the whole index and starts new writer. |
void |
close()
Closes the session. |
LuceneQuery |
createQuery()
Creates a new query. |
void |
flush()
Flushes all data writer has changed. |
Method Detail |
---|
LuceneQuery createQuery()
SessionClosedException
- if session is closedLuceneWriter beginAppend()
SessionReadOnlyException
- if session is opened in read-only mode
SessionClosedException
- if session is closedLuceneWriter beginReset()
SessionReadOnlyException
- if session is opened in read-only mode
SessionClosedException
- if session is closedvoid flush()
SessionClosedException
- if session is closedvoid close()
SessionClosedException
- if session is closed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |