|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.index.DefaultIndexManager
Field Summary | |
static Analyzer |
ANALYZER
|
static java.lang.String |
COMMENTS_SUBDIR
|
static java.lang.String |
ISSUES_SUBDIR
|
Constructor Summary | |
DefaultIndexManager()
|
Method Summary | |
void |
deIndex(GenericValue entity)
|
Directory |
getCommentDirectory()
|
java.lang.String |
getCommentPath()
The specific path of the comments index |
protected java.lang.String |
getFilePath()
Return the path beneath which the different index directories are stored |
protected IndexReader |
getIndexReader(java.lang.String path)
Obtain an IndexReader |
protected IndexWriter |
getIndexWriter(java.lang.String path,
boolean create)
Obtain an IndexWriter for and optionally create. |
Directory |
getIssueDirectory()
|
java.lang.String |
getIssuePath()
The specific path of the issue index |
boolean |
isBusy()
|
void |
reIndex(GenericValue entity)
|
long |
reIndexAll()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Analyzer ANALYZER
public static final java.lang.String COMMENTS_SUBDIR
public static final java.lang.String ISSUES_SUBDIR
Constructor Detail |
public DefaultIndexManager()
Method Detail |
public boolean isBusy()
isBusy
in interface IssueIndexManager
public long reIndexAll() throws IndexException
reIndexAll
in interface IssueIndexManager
IndexException
public void reIndex(GenericValue entity) throws IndexException
reIndex
in interface IssueIndexManager
IndexException
public void deIndex(GenericValue entity) throws IndexException
deIndex
in interface IssueIndexManager
IndexException
public java.lang.String getIssuePath()
getIssuePath
in interface IssueIndexManager
public java.lang.String getCommentPath()
getCommentPath
in interface IssueIndexManager
public Directory getIssueDirectory()
getIssueDirectory
in interface IssueIndexManager
public Directory getCommentDirectory()
getCommentDirectory
in interface IssueIndexManager
protected java.lang.String getFilePath()
protected IndexReader getIndexReader(java.lang.String path) throws IndexException
IndexException
protected IndexWriter getIndexWriter(java.lang.String path, boolean create) throws IndexException
IndexException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |