Class QuickSearchSearcherImpl
java.lang.Object
com.atlassian.bamboo.index.quicksearch.QuickSearchSearcherImpl
- All Implemented Interfaces:
QuickSearchSearcher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@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)
-
Constructor Details
-
QuickSearchSearcherImpl
public QuickSearchSearcherImpl()
-
-
Method Details
-
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
-