| Package | Description |
|---|---|
| org.apache.lucene.search.grouping |
This module enables search result grouping with Lucene, where hits
with the same value in the specified single-valued group field are
grouped together.
|
| org.apache.lucene.search.grouping.dv |
Support for grouping on
DocValues fields. |
| org.apache.lucene.search.grouping.function |
Support for grouping by {org.apache.lucene.queries.function.ValueSource}.
|
| org.apache.lucene.search.grouping.term |
Support for grouping by indexed terms via {org.apache.lucene.search.FieldCache}.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDistinctValuesCollector<GC extends AbstractDistinctValuesCollector.GroupCount<?>>
A second pass grouping collector that keeps track of distinct values for a specified field for the top N group.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DVDistinctValuesCollector<GC extends AbstractDistinctValuesCollector.GroupCount<?>>
Docvalues implementation of
AbstractDistinctValuesCollector. |
| Modifier and Type | Method and Description |
|---|---|
static <T> DVDistinctValuesCollector<AbstractDistinctValuesCollector.GroupCount<T>> |
DVDistinctValuesCollector.create(String groupField,
String countField,
Collection<SearchGroup<T>> groups,
boolean diskResident,
DocValues.Type type)
Constructs a docvalues based implementation of
AbstractDistinctValuesCollector based on the specified
type. |
| Modifier and Type | Class and Description |
|---|---|
static class |
FunctionDistinctValuesCollector.GroupCount
Holds distinct values for a single group.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
TermDistinctValuesCollector.GroupCount
Holds distinct values for a single group.
|
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.