Package com.atlassian.jira.search.lucene
Class LucenePopularLabelsProvider
java.lang.Object
com.atlassian.jira.issue.label.suggestions.PopularLabelsProvider
com.atlassian.jira.search.lucene.LucenePopularLabelsProvider
Implementation of
PopularLabelsProvider that fetches Lucene to find the most popular labels.
- Since:
- 11.1
-
Constructor Summary
ConstructorsConstructorDescriptionLucenePopularLabelsProvider(IssueIndexManager issueIndexManager, Clock clock, LabelSuggesterStats stats) -
Method Summary
Modifier and TypeMethodDescriptionfetchPopularLabels(String searchField, ApplicationUser user, Set<Label> issueLabels, int limit, Duration timeout) Methods inherited from class com.atlassian.jira.issue.label.suggestions.PopularLabelsProvider
findMostPopular, getClock, getStats
-
Constructor Details
-
LucenePopularLabelsProvider
public LucenePopularLabelsProvider(IssueIndexManager issueIndexManager, Clock clock, LabelSuggesterStats stats)
-
-
Method Details
-
fetchPopularLabels
public Set<String> fetchPopularLabels(String searchField, ApplicationUser user, Set<Label> issueLabels, int limit, Duration timeout) - Specified by:
fetchPopularLabelsin classPopularLabelsProvider
-