org.apache.maven.index
Class GroupedSearchResponse

java.lang.Object
  extended by org.apache.maven.index.AbstractSearchResponse
      extended by org.apache.maven.index.GroupedSearchResponse
All Implemented Interfaces:
Closeable

public class GroupedSearchResponse
extends AbstractSearchResponse

A grouped search response. For hitsCount, it reports the number of groups found.

See Also:
NexusIndexer.searchGrouped(GroupedSearchRequest)

Constructor Summary
GroupedSearchResponse(org.apache.lucene.search.Query query, int totalHits, Map<String,ArtifactInfoGroup> results)
           
 
Method Summary
 Map<String,ArtifactInfoGroup> getResults()
           
 
Methods inherited from class org.apache.maven.index.AbstractSearchResponse
close, getQuery, getReturnedHitsCount, getTotalHits, getTotalHitsCount, isHitLimitExceeded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupedSearchResponse

public GroupedSearchResponse(org.apache.lucene.search.Query query,
                             int totalHits,
                             Map<String,ArtifactInfoGroup> results)
Method Detail

getResults

public Map<String,ArtifactInfoGroup> getResults()


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.