Package | Description |
---|---|
org.apache.lucene.search.grouping |
Grouping.
|
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
org.apache.solr.handler.component |
SearchComponent implementations for
use in SearchHandler |
org.apache.solr.search.grouping.distributed.command |
Internal classes used to implement distributed result grouping
|
org.apache.solr.search.grouping.distributed.shardresultserializer |
Internal classes used to implement distributed result grouping
|
Modifier and Type | Method and Description |
---|---|
TopGroups<T> |
SecondPassGroupingCollector.getTopGroups(int withinGroupOffset) |
TopGroups<?> |
BlockGroupingCollector.getTopGroups(Sort withinGroupSort,
int groupOffset,
int withinGroupOffset,
int maxDocsPerGroup,
boolean fillSortFields)
Returns the grouped results.
|
protected TopGroups<?> |
GroupingSearch.groupByDocBlock(IndexSearcher searcher,
Query query,
int groupOffset,
int groupLimit) |
protected TopGroups |
GroupingSearch.groupByFieldOrFunction(IndexSearcher searcher,
Query query,
int groupOffset,
int groupLimit) |
static <T> TopGroups<T> |
TopGroups.merge(TopGroups<T>[] shardGroups,
Sort groupSort,
Sort docSort,
int docOffset,
int docTopN,
TopGroups.ScoreMergeMode scoreMergeMode)
Merges an array of TopGroups, for example obtained
from the second-pass collector across multiple
shards.
|
<T> TopGroups<T> |
GroupingSearch.search(IndexSearcher searcher,
Query query,
int groupOffset,
int groupLimit)
Executes a grouped search.
|
Modifier and Type | Method and Description |
---|---|
static <T> TopGroups<T> |
TopGroups.merge(TopGroups<T>[] shardGroups,
Sort groupSort,
Sort docSort,
int docOffset,
int docTopN,
TopGroups.ScoreMergeMode scoreMergeMode)
Merges an array of TopGroups, for example obtained
from the second-pass collector across multiple
shards.
|
Constructor and Description |
---|
TopGroups(TopGroups<T> oldTopGroups,
Integer totalGroupCount) |
Modifier and Type | Method and Description |
---|---|
TopGroups<Integer> |
ToParentBlockJoinCollector.getTopGroups(ToParentBlockJoinQuery query,
Sort withinGroupSort,
int offset,
int maxDocsPerGroup,
int withinGroupOffset,
boolean fillSortFields)
Returns the TopGroups for the specified
BlockJoinQuery.
|
TopGroups<Integer> |
ToParentBlockJoinCollector.getTopGroupsWithAllChildDocs(ToParentBlockJoinQuery query,
Sort withinGroupSort,
int offset,
int withinGroupOffset,
boolean fillSortFields)
Returns the TopGroups for the specified BlockJoinQuery.
|
Modifier and Type | Field and Description |
---|---|
Map<String,TopGroups<BytesRef>> |
ResponseBuilder.mergedTopGroups |
Modifier and Type | Method and Description |
---|---|
TopGroups<BytesRef> |
TopGroupsFieldCommand.result() |
Modifier and Type | Method and Description |
---|---|
protected NamedList |
TopGroupsResultTransformer.serializeTopGroups(TopGroups<BytesRef> data,
SchemaField groupField) |