com.atlassian.jira.index.Index.Manager |
Management of an Index
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clean out the underlying directory the index is contained in.
| |||||||||||
Get the current IndexConnection this manager holds.
| |||||||||||
Get the current
IndexSearcher from the Index . | |||||||||||
Returns true if the index has been created.
|
[Expand]
Inherited Methods | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
| |||||||||||||
![]() |
Clean out the underlying directory the index is contained in.
Blow away any indexes that currently live there.
Get the current IndexConnection this manager holds. May throw exceptions if the index has not been created.
IllegalStateException | if the index directory is not created etc. |
---|
Get the current IndexSearcher
from the Index
.
You must call the close
method in a
finally block once the searcher is no longer needed.
IndexSearcher
Returns true if the index has been created. This means that the index directory itself exists AND has been initialised with the default required index files.