Class QuickSearchSearcherImpl
- java.lang.Object
-
- com.atlassian.bamboo.index.quicksearch.QuickSearchSearcherImpl
-
- All Implemented Interfaces:
QuickSearchSearcher
public class QuickSearchSearcherImpl extends Object implements QuickSearchSearcher
-
-
Constructor Summary
Constructors Constructor Description QuickSearchSearcherImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull List<QuickSearchDocument>
findItemsMatching(@NotNull String searchTerm)
Finds top 10 matching items in the index.@NotNull List<QuickSearchDocument>
findItemsMatching(@NotNull String searchTerm, QuickSearchItem.Type type)
-
-
-
Method Detail
-
findItemsMatching
@NotNull public @NotNull List<QuickSearchDocument> findItemsMatching(@NotNull @NotNull String searchTerm)
Description copied from interface:QuickSearchSearcher
Finds top 10 matching items in the index. What it searches on is determined by the entities indexed. Results filtered to what user can see.- Specified by:
findItemsMatching
in interfaceQuickSearchSearcher
- Parameters:
searchTerm
- term to search for- Returns:
- Documents matching search Term
-
findItemsMatching
@NotNull public @NotNull List<QuickSearchDocument> findItemsMatching(@NotNull @NotNull String searchTerm, @Nullable QuickSearchItem.Type type)
- Specified by:
findItemsMatching
in interfaceQuickSearchSearcher
-
-