Package org.apache.maven.index
Class GroupedSearchRequest
java.lang.Object
org.apache.maven.index.AbstractSearchRequest
org.apache.maven.index.GroupedSearchRequest
A grouped search request. This kinds of request is not pageable, since order of incoming hits are not defined, hence
paging between Document hits makes no sense, would produce unpredictable (and probably not meaningful) results.
- See Also:
-
Field Summary
Fields inherited from class org.apache.maven.index.AbstractSearchRequest
UNDEFINED
-
Constructor Summary
ConstructorDescriptionGroupedSearchRequest
(org.apache.lucene.search.Query query, Grouping grouping) GroupedSearchRequest
(org.apache.lucene.search.Query query, Grouping grouping, Comparator<String> groupKeyComparator) GroupedSearchRequest
(org.apache.lucene.search.Query query, Grouping grouping, Comparator<String> groupKeyComparator, IndexingContext context) GroupedSearchRequest
(org.apache.lucene.search.Query query, Grouping grouping, IndexingContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setGrouping
(Grouping grouping) void
setGroupKeyComparator
(Comparator<String> groupKeyComparator) Methods inherited from class org.apache.maven.index.AbstractSearchRequest
getArtifactInfoFilter, getArtifactInfoPostprocessor, getContexts, getCount, getMatchHighlightRequests, getQuery, getResultHitLimit, isHitLimited, isLuceneExplain, setArtifactInfoFilter, setArtifactInfoPostprocessor, setContexts, setCount, setLuceneExplain, setMatchHighlightRequests, setQuery, setResultHitLimit
-
Constructor Details
-
GroupedSearchRequest
-
GroupedSearchRequest
public GroupedSearchRequest(org.apache.lucene.search.Query query, Grouping grouping, Comparator<String> groupKeyComparator) -
GroupedSearchRequest
public GroupedSearchRequest(org.apache.lucene.search.Query query, Grouping grouping, IndexingContext context) -
GroupedSearchRequest
public GroupedSearchRequest(org.apache.lucene.search.Query query, Grouping grouping, Comparator<String> groupKeyComparator, IndexingContext context)
-
-
Method Details
-
getGrouping
-
setGrouping
-
getGroupKeyComparator
-
setGroupKeyComparator
-