org.apache.maven.index
Class GroupedSearchRequest
java.lang.Object
org.apache.maven.index.AbstractSearchRequest
org.apache.maven.index.GroupedSearchRequest
public class GroupedSearchRequest
- extends AbstractSearchRequest
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:
NexusIndexer.searchGrouped(GroupedSearchRequest)
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupedSearchRequest
public GroupedSearchRequest(org.apache.lucene.search.Query query,
Grouping grouping)
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)
getGrouping
public Grouping getGrouping()
setGrouping
public void setGrouping(Grouping grouping)
getGroupKeyComparator
public Comparator<String> getGroupKeyComparator()
setGroupKeyComparator
public void setGroupKeyComparator(Comparator<String> groupKeyComparator)
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.