|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IssueIndexer
Nested Class Summary | |
---|---|
static class |
IssueIndexer.Analyzers
|
Method Summary | |
---|---|
Index.Result |
deindexIssues(EnclosedIterable<Issue> issues,
Context context)
Delete any existing documents for the supplied issues. |
void |
deleteIndexes()
|
org.apache.lucene.search.IndexSearcher |
getChangeHistorySearcher()
|
org.apache.lucene.search.IndexSearcher |
getCommentSearcher()
|
List<String> |
getIndexPaths()
|
String |
getIndexRootPath()
|
org.apache.lucene.search.IndexSearcher |
getIssueSearcher()
|
Index.Result |
indexIssues(EnclosedIterable<Issue> issues,
Context context)
Add documents for the supplied issues. |
Index.Result |
indexIssuesBatchMode(EnclosedIterable<Issue> issues,
Context context)
Index the given issues, use whatever is in your arsenal to do it as FAST as possible. |
Index.Result |
optimize()
|
Index.Result |
reindexIssues(EnclosedIterable<Issue> issues,
Context context)
Re-index the given issues, delete any existing documents and add new ones. |
void |
shutdown()
|
Method Detail |
---|
Index.Result indexIssues(@NotNull EnclosedIterable<Issue> issues, @NotNull Context context)
issues
- An iterable of issues to index.context
- for showing the user the current status.Index.Result deindexIssues(@NotNull EnclosedIterable<Issue> issues, @NotNull Context context)
issues
- An iterable of issues to index.context
- for showing the user the current status.Index.Result reindexIssues(@NotNull EnclosedIterable<Issue> issues, @NotNull Context context)
issues
- An iterable of issues to index.context
- for showing the user the current status.Index.Result indexIssuesBatchMode(@NotNull EnclosedIterable<Issue> issues, @NotNull Context context)
issues
- An iterable of issues to index.context
- for showing the user the current status.Index.Result optimize()
void deleteIndexes()
void shutdown()
org.apache.lucene.search.IndexSearcher getIssueSearcher()
org.apache.lucene.search.IndexSearcher getCommentSearcher()
org.apache.lucene.search.IndexSearcher getChangeHistorySearcher()
List<String> getIndexPaths()
String getIndexRootPath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |