@ExperimentalApi
public interface TemporaryIndexProvider
Modifier and Type | Interface and Description |
---|---|
static interface |
TemporaryIndexProvider.IndexSearcher<T> |
Modifier and Type | Method and Description |
---|---|
<T> T |
indexIssuesAndSearch(Collection<? extends Issue> issues,
TemporaryIndexProvider.IndexSearcher<T> indexSearcher)
Create a temporary index, run the callback and return the computed value
|
@Nullable <T> T indexIssuesAndSearch(@Nonnull Collection<? extends Issue> issues, @Nonnull TemporaryIndexProvider.IndexSearcher<T> indexSearcher) throws SearchException
issues
- issues that will be indexed into the lucene indexindexSearcher
- callback for querying the indexSearchException
- if unable to compute a result of the searchCopyright © 2002-2015 Atlassian. All Rights Reserved.