|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Index.Manager
Management of an Index
| Field Summary |
|---|
| Fields inherited from interface com.atlassian.jira.util.Closeable |
|---|
CLOSE |
| Method Summary | |
|---|---|
void |
deleteIndexDirectory()
Clean out the underlying directory the index is contained in. |
Index |
getIndex()
Get the current IndexConnection this manager holds. |
org.apache.lucene.search.IndexSearcher |
getSearcher()
Get the current IndexSearcher from the Index. |
boolean |
isIndexCreated()
Returns true if the index has been created. |
| Methods inherited from interface com.atlassian.jira.util.Closeable |
|---|
close |
| Method Detail |
|---|
@NotNull Index getIndex()
IllegalStateException - if the index directory is not created
etc.@NotNull org.apache.lucene.search.IndexSearcher getSearcher()
IndexSearcher from the Index.
You must call the close method in a
finally block once the searcher is no longer needed.
IndexSearcherboolean isIndexCreated()
void deleteIndexDirectory()
Blow away any indexes that currently live there.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||