Index
All Classes and Interfaces|All Packages
A
- ACCEPT - Enum constant in enum class org.apache.lucene.search.grouping.GroupSelector.State
- addFacetCount(BytesRef, int) - Method in class org.apache.lucene.search.grouping.GroupFacetCollector.GroupedFacetResult
- advanceTo(int) - Method in class org.apache.lucene.search.grouping.DoubleRangeGroupSelector
- advanceTo(int) - Method in class org.apache.lucene.search.grouping.GroupSelector
-
Advance the GroupSelector's iterator to the given document
- advanceTo(int) - Method in class org.apache.lucene.search.grouping.LongRangeGroupSelector
- advanceTo(int) - Method in class org.apache.lucene.search.grouping.TermGroupSelector
- advanceTo(int) - Method in class org.apache.lucene.search.grouping.ValueSourceGroupSelector
- AllGroupHeadsCollector<T> - Class in org.apache.lucene.search.grouping
-
This collector specializes in collecting the most relevant document (group head) for each group that matches the query.
- AllGroupHeadsCollector.GroupHead<T> - Class in org.apache.lucene.search.grouping
-
Represents a group head.
- AllGroupsCollector<T> - Class in org.apache.lucene.search.grouping
-
A collector that collects all groups that match the query.
- AllGroupsCollector(GroupSelector<T>) - Constructor for class org.apache.lucene.search.grouping.AllGroupsCollector
-
Create a new AllGroupsCollector
- Avg - Enum constant in enum class org.apache.lucene.search.grouping.TopGroups.ScoreMergeMode
B
- BlockGroupingCollector - Class in org.apache.lucene.search.grouping
-
BlockGroupingCollector performs grouping with a single pass collector, as long as you are grouping by a doc block field, ie all documents sharing a given group value were indexed as a doc block using the atomic
IndexWriter.addDocuments()
orIndexWriter.updateDocuments()
API. - BlockGroupingCollector(Sort, int, boolean, Weight) - Constructor for class org.apache.lucene.search.grouping.BlockGroupingCollector
-
Create the single pass collector.
C
- collect(int) - Method in class org.apache.lucene.search.grouping.AllGroupHeadsCollector
- collect(int) - Method in class org.apache.lucene.search.grouping.AllGroupsCollector
- collect(int) - Method in class org.apache.lucene.search.grouping.BlockGroupingCollector
- collect(int) - Method in class org.apache.lucene.search.grouping.FirstPassGroupingCollector
- collect(int) - Method in class org.apache.lucene.search.grouping.SecondPassGroupingCollector
- collect(T, int) - Method in class org.apache.lucene.search.grouping.GroupReducer
-
Collect a given document into a given group
- CollectedSearchGroup<T> - Class in org.apache.lucene.search.grouping
-
Expert: representation of a group in
FirstPassGroupingCollector
, tracking the top doc andFieldComparator
slot. - CollectedSearchGroup() - Constructor for class org.apache.lucene.search.grouping.CollectedSearchGroup
- compare(int, int) - Method in class org.apache.lucene.search.grouping.AllGroupHeadsCollector.GroupHead
-
Compares the specified document for a specified comparator against the current most relevant document.
- compIDXEnd - Variable in class org.apache.lucene.search.grouping.AllGroupHeadsCollector
- context - Variable in class org.apache.lucene.search.grouping.AllGroupHeadsCollector
- copyValue() - Method in class org.apache.lucene.search.grouping.DoubleRangeGroupSelector
- copyValue() - Method in class org.apache.lucene.search.grouping.GroupSelector
- copyValue() - Method in class org.apache.lucene.search.grouping.LongRangeGroupSelector
- copyValue() - Method in class org.apache.lucene.search.grouping.TermGroupSelector
- copyValue() - Method in class org.apache.lucene.search.grouping.ValueSourceGroupSelector
- count() - Method in record class org.apache.lucene.search.grouping.GroupFacetCollector.FacetEntry
-
Returns the value of the
count
record component. - counts - Variable in class org.apache.lucene.search.grouping.GroupFacetCollector.SegmentResult
- createSegmentResult() - Method in class org.apache.lucene.search.grouping.GroupFacetCollector
- createTermGroupFacetCollector(String, String, boolean, BytesRef, int) - Static method in class org.apache.lucene.search.grouping.TermGroupFacetCollector
-
Factory method for creating the right implementation based on the fact whether the facet field contains multiple tokens per documents.
- currentValue() - Method in class org.apache.lucene.search.grouping.DoubleRangeGroupSelector
- currentValue() - Method in class org.apache.lucene.search.grouping.GroupSelector
-
Get the group value of the current document
- currentValue() - Method in class org.apache.lucene.search.grouping.LongRangeGroupSelector
- currentValue() - Method in class org.apache.lucene.search.grouping.TermGroupSelector
- currentValue() - Method in class org.apache.lucene.search.grouping.ValueSourceGroupSelector
D
- disableCaching() - Method in class org.apache.lucene.search.grouping.GroupingSearch
-
Disables any enabled cache.
- DistinctValuesCollector<T,
R> - Class in org.apache.lucene.search.grouping -
A second pass grouping collector that keeps track of distinct values for a specified field for the top N group.
- DistinctValuesCollector(GroupSelector<T>, Collection<SearchGroup<T>>, GroupSelector<R>) - Constructor for class org.apache.lucene.search.grouping.DistinctValuesCollector
-
Create a DistinctValuesCollector
- DistinctValuesCollector.GroupCount<T,
R> - Class in org.apache.lucene.search.grouping -
Returned by
DistinctValuesCollector.getGroups()
, representing the value and set of distinct values for the group. - doc - Variable in class org.apache.lucene.search.grouping.AllGroupHeadsCollector.GroupHead
- docBase - Variable in class org.apache.lucene.search.grouping.AllGroupHeadsCollector.GroupHead
- doSetNextReader(LeafReaderContext) - Method in class org.apache.lucene.search.grouping.AllGroupHeadsCollector
- doSetNextReader(LeafReaderContext) - Method in class org.apache.lucene.search.grouping.AllGroupsCollector
- doSetNextReader(LeafReaderContext) - Method in class org.apache.lucene.search.grouping.BlockGroupingCollector
- doSetNextReader(LeafReaderContext) - Method in class org.apache.lucene.search.grouping.FirstPassGroupingCollector
- doSetNextReader(LeafReaderContext) - Method in class org.apache.lucene.search.grouping.SecondPassGroupingCollector
- DoubleRange - Class in org.apache.lucene.search.grouping
-
Represents a contiguous range of double values, with an inclusive minimum and exclusive maximum
- DoubleRange(double, double) - Constructor for class org.apache.lucene.search.grouping.DoubleRange
-
Creates a new double range, running from
min
inclusive tomax
exclusive - DoubleRangeFactory - Class in org.apache.lucene.search.grouping
-
Groups double values into ranges
- DoubleRangeFactory(double, double, double) - Constructor for class org.apache.lucene.search.grouping.DoubleRangeFactory
-
Creates a new DoubleRangeFactory
- DoubleRangeGroupSelector - Class in org.apache.lucene.search.grouping
-
A GroupSelector implementation that groups documents by double values
- DoubleRangeGroupSelector(DoubleValuesSource, DoubleRangeFactory) - Constructor for class org.apache.lucene.search.grouping.DoubleRangeGroupSelector
-
Creates a new DoubleRangeGroupSelector
E
- endFacetOrd - Variable in class org.apache.lucene.search.grouping.GroupFacetCollector
- equals(Object) - Method in class org.apache.lucene.search.grouping.DoubleRange
- equals(Object) - Method in record class org.apache.lucene.search.grouping.GroupDocs
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.lucene.search.grouping.GroupFacetCollector.FacetEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.apache.lucene.search.grouping.LongRange
- equals(Object) - Method in class org.apache.lucene.search.grouping.SearchGroup
F
- FacetEntry(BytesRef, int) - Constructor for record class org.apache.lucene.search.grouping.GroupFacetCollector.FacetEntry
-
Creates an instance of a
FacetEntry
record class. - facetField - Variable in class org.apache.lucene.search.grouping.GroupFacetCollector
- facetPrefix - Variable in class org.apache.lucene.search.grouping.GroupFacetCollector
- finish() - Method in class org.apache.lucene.search.grouping.BlockGroupingCollector
- finish() - Method in class org.apache.lucene.search.grouping.GroupFacetCollector
- FirstPassGroupingCollector<T> - Class in org.apache.lucene.search.grouping
-
FirstPassGroupingCollector is the first of two passes necessary to collect grouped hits.
- FirstPassGroupingCollector(GroupSelector<T>, Sort, int) - Constructor for class org.apache.lucene.search.grouping.FirstPassGroupingCollector
-
Create the first pass collector.
G
- getAllGroupHeads() - Method in class org.apache.lucene.search.grouping.GroupingSearch
-
Returns the matching group heads if
GroupingSearch.setAllGroupHeads(boolean)
was set to true or an empty bit set. - getAllMatchingGroups() - Method in class org.apache.lucene.search.grouping.GroupingSearch
-
If
GroupingSearch.setAllGroups(boolean)
was set totrue
then all matching groups are returned, otherwise an empty collection is returned. - getCollectedGroupHeads() - Method in class org.apache.lucene.search.grouping.AllGroupHeadsCollector
-
Returns the collected group heads.
- getCollector(T) - Method in class org.apache.lucene.search.grouping.GroupReducer
-
Get the Collector for a given group
- getFacetEntries(int, int) - Method in class org.apache.lucene.search.grouping.GroupFacetCollector.GroupedFacetResult
-
Returns a list of facet entries to be rendered based on the specified offset and limit.
- getGroupCount() - Method in class org.apache.lucene.search.grouping.AllGroupsCollector
-
Returns the total number of groups for the executed search.
- getGroups() - Method in class org.apache.lucene.search.grouping.AllGroupsCollector
-
Returns the group values
- getGroups() - Method in class org.apache.lucene.search.grouping.DistinctValuesCollector
-
Returns all unique values for each top N group.
- getGroupSelector() - Method in class org.apache.lucene.search.grouping.FirstPassGroupingCollector
- getGroupSelector() - Method in class org.apache.lucene.search.grouping.SecondPassGroupingCollector
- getRange(double, DoubleRange) - Method in class org.apache.lucene.search.grouping.DoubleRangeFactory
-
Finds the DoubleRange that a value should be grouped into
- getRange(long, LongRange) - Method in class org.apache.lucene.search.grouping.LongRangeFactory
-
Finds the LongRange that a value should be grouped into
- getTopGroups(int) - Method in class org.apache.lucene.search.grouping.FirstPassGroupingCollector
-
Returns top groups, starting from offset.
- getTopGroups(int) - Method in class org.apache.lucene.search.grouping.TopGroupsCollector
-
Get the TopGroups recorded by this collector
- getTopGroups(Sort, int, int, int) - Method in class org.apache.lucene.search.grouping.BlockGroupingCollector
-
Returns the grouped results.
- getTotalCount() - Method in class org.apache.lucene.search.grouping.GroupFacetCollector.GroupedFacetResult
-
Returns the sum of all facet entries counts.
- getTotalMissingCount() - Method in class org.apache.lucene.search.grouping.GroupFacetCollector.GroupedFacetResult
-
Returns the number of groups that didn't have a facet value.
- groupByDocBlock(IndexSearcher, Query, int, int) - Method in class org.apache.lucene.search.grouping.GroupingSearch
- groupByFieldOrFunction(IndexSearcher, Query, int, int) - Method in class org.apache.lucene.search.grouping.GroupingSearch
- GroupCount(T, Set<R>) - Constructor for class org.apache.lucene.search.grouping.DistinctValuesCollector.GroupCount
- GroupDocs<T> - Record Class in org.apache.lucene.search.grouping
-
Represents one group in the results.
- GroupDocs(float, float, TotalHits, ScoreDoc[], T, Object[]) - Constructor for record class org.apache.lucene.search.grouping.GroupDocs
-
Creates an instance of a
GroupDocs
record class. - GroupedFacetResult(int, int, boolean, int, int) - Constructor for class org.apache.lucene.search.grouping.GroupFacetCollector.GroupedFacetResult
- GroupFacetCollector - Class in org.apache.lucene.search.grouping
-
Base class for computing grouped facets.
- GroupFacetCollector(String, String, BytesRef) - Constructor for class org.apache.lucene.search.grouping.GroupFacetCollector
- GroupFacetCollector.FacetEntry - Record Class in org.apache.lucene.search.grouping
-
Represents a facet entry with a value and a count.
- GroupFacetCollector.GroupedFacetResult - Class in org.apache.lucene.search.grouping
-
The grouped facet result.
- GroupFacetCollector.SegmentResult - Class in org.apache.lucene.search.grouping
-
Contains the local grouped segment counts for a particular segment.
- groupField - Variable in class org.apache.lucene.search.grouping.GroupFacetCollector
- GroupHead(T, int, int) - Constructor for class org.apache.lucene.search.grouping.AllGroupHeadsCollector.GroupHead
-
Create a new GroupHead for the given value
- groupHeadsSize() - Method in class org.apache.lucene.search.grouping.AllGroupHeadsCollector
- GroupingSearch - Class in org.apache.lucene.search.grouping
-
Convenience class to perform grouping in a non distributed environment.
- GroupingSearch(String) - Constructor for class org.apache.lucene.search.grouping.GroupingSearch
-
Constructs a
GroupingSearch
instance that groups documents by index terms using DocValues. - GroupingSearch(ValueSource, Map<Object, Object>) - Constructor for class org.apache.lucene.search.grouping.GroupingSearch
-
Constructs a
GroupingSearch
instance that groups documents by function using aValueSource
instance. - GroupingSearch(GroupSelector<?>) - Constructor for class org.apache.lucene.search.grouping.GroupingSearch
-
Constructs a
GroupingSearch
instance that groups documents using aGroupSelector
- GroupingSearch(Query) - Constructor for class org.apache.lucene.search.grouping.GroupingSearch
-
Constructor for grouping documents by doc block.
- groupReducer - Variable in class org.apache.lucene.search.grouping.SecondPassGroupingCollector
- GroupReducer<T,
C> - Class in org.apache.lucene.search.grouping -
Concrete implementations of this class define what to collect for individual groups during the second-pass of a grouping search.
- GroupReducer() - Constructor for class org.apache.lucene.search.grouping.GroupReducer
- groups - Variable in class org.apache.lucene.search.grouping.SecondPassGroupingCollector
- groups - Variable in class org.apache.lucene.search.grouping.TopGroups
-
Group results in groupSort order
- groupSelector - Variable in class org.apache.lucene.search.grouping.SecondPassGroupingCollector
- GroupSelector<T> - Class in org.apache.lucene.search.grouping
-
Defines a group, for use by grouping collectors
- GroupSelector() - Constructor for class org.apache.lucene.search.grouping.GroupSelector
- GroupSelector.State - Enum Class in org.apache.lucene.search.grouping
-
What to do with the current value
- groupSort - Variable in class org.apache.lucene.search.grouping.TopGroups
-
How groups are sorted against each other
- groupSortValues() - Method in record class org.apache.lucene.search.grouping.GroupDocs
-
Returns the value of the
groupSortValues
record component. - groupValue - Variable in class org.apache.lucene.search.grouping.AllGroupHeadsCollector.GroupHead
- groupValue - Variable in class org.apache.lucene.search.grouping.DistinctValuesCollector.GroupCount
- groupValue - Variable in class org.apache.lucene.search.grouping.SearchGroup
-
The value that defines this group
- groupValue() - Method in record class org.apache.lucene.search.grouping.GroupDocs
-
Returns the value of the
groupValue
record component.
H
- hashCode() - Method in class org.apache.lucene.search.grouping.DoubleRange
- hashCode() - Method in record class org.apache.lucene.search.grouping.GroupDocs
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.lucene.search.grouping.GroupFacetCollector.FacetEntry
-
Returns a hash code value for this object.
- hashCode() - Method in class org.apache.lucene.search.grouping.LongRange
- hashCode() - Method in class org.apache.lucene.search.grouping.SearchGroup
- heads - Variable in class org.apache.lucene.search.grouping.AllGroupHeadsCollector
L
- LongRange - Class in org.apache.lucene.search.grouping
-
Represents a contiguous range of long values, with an inclusive minimum and exclusive maximum
- LongRange(long, long) - Constructor for class org.apache.lucene.search.grouping.LongRange
-
Creates a new double range, running from
min
inclusive tomax
exclusive - LongRangeFactory - Class in org.apache.lucene.search.grouping
-
Groups double values into ranges
- LongRangeFactory(long, long, long) - Constructor for class org.apache.lucene.search.grouping.LongRangeFactory
-
Creates a new LongRangeFactory
- LongRangeGroupSelector - Class in org.apache.lucene.search.grouping
-
A GroupSelector implementation that groups documents by long values
- LongRangeGroupSelector(LongValuesSource, LongRangeFactory) - Constructor for class org.apache.lucene.search.grouping.LongRangeGroupSelector
-
Creates a new LongRangeGroupSelector
M
- max - Variable in class org.apache.lucene.search.grouping.DoubleRange
-
The exclusive maximum value of this range
- max - Variable in class org.apache.lucene.search.grouping.LongRange
-
The exclusive maximum value of this range
- maxScore - Variable in class org.apache.lucene.search.grouping.TopGroups
-
Highest score across all hits, or
Float.NaN
if scores were not computed. - maxScore() - Method in record class org.apache.lucene.search.grouping.GroupDocs
-
Returns the value of the
maxScore
record component. - maxTermPos - Variable in class org.apache.lucene.search.grouping.GroupFacetCollector.SegmentResult
- merge(List<Collection<SearchGroup<T>>>, int, int, Sort) - Static method in class org.apache.lucene.search.grouping.SearchGroup
-
Merges multiple collections of top groups, for example obtained from separate index shards.
- merge(TopGroups<T>[], Sort, Sort, int, int, TopGroups.ScoreMergeMode) - Static method in class org.apache.lucene.search.grouping.TopGroups
-
Merges an array of TopGroups, for example obtained from the second-pass collector across multiple shards.
- mergePos - Variable in class org.apache.lucene.search.grouping.GroupFacetCollector.SegmentResult
- mergeSegmentResults(int, int, boolean) - Method in class org.apache.lucene.search.grouping.GroupFacetCollector
-
Returns grouped facet results that were computed over zero or more segments.
- mergeTerm - Variable in class org.apache.lucene.search.grouping.GroupFacetCollector.SegmentResult
- min - Variable in class org.apache.lucene.search.grouping.DoubleRange
-
The inclusive minimum value of this range
- min - Variable in class org.apache.lucene.search.grouping.LongRange
-
The inclusive minimum value of this range
- missing - Variable in class org.apache.lucene.search.grouping.GroupFacetCollector.SegmentResult
N
- needsScores() - Method in class org.apache.lucene.search.grouping.GroupReducer
-
Whether or not this reducer requires collected documents to be scored
- newCollector() - Method in class org.apache.lucene.search.grouping.GroupReducer
-
Creates a new Collector for each group
- newCollector(GroupSelector<T>, Sort) - Static method in class org.apache.lucene.search.grouping.AllGroupHeadsCollector
-
Create a new AllGroupHeadsCollector based on the type of within-group Sort required
- newGroupHead(int, T, LeafReaderContext, Scorable) - Method in class org.apache.lucene.search.grouping.AllGroupHeadsCollector
-
Create a new GroupHead for the given group value, initialized with a doc, context and scorer
- nextTerm() - Method in class org.apache.lucene.search.grouping.GroupFacetCollector.SegmentResult
-
Go to next term in this
SegmentResult
in order to retrieve the grouped facet counts. - None - Enum constant in enum class org.apache.lucene.search.grouping.TopGroups.ScoreMergeMode
-
Set score to Float.NaN
O
- orderedGroups - Variable in class org.apache.lucene.search.grouping.FirstPassGroupingCollector
- org.apache.lucene.search.grouping - package org.apache.lucene.search.grouping
-
Grouping.
R
- retrieveGroupHeads() - Method in class org.apache.lucene.search.grouping.AllGroupHeadsCollector
- retrieveGroupHeads(int) - Method in class org.apache.lucene.search.grouping.AllGroupHeadsCollector
- reversed - Variable in class org.apache.lucene.search.grouping.AllGroupHeadsCollector
S
- score() - Method in record class org.apache.lucene.search.grouping.GroupDocs
-
Returns the value of the
score
record component. - scoreDocs() - Method in record class org.apache.lucene.search.grouping.GroupDocs
-
Returns the value of the
scoreDocs
record component. - scoreMode() - Method in class org.apache.lucene.search.grouping.AllGroupHeadsCollector
- scoreMode() - Method in class org.apache.lucene.search.grouping.AllGroupsCollector
- scoreMode() - Method in class org.apache.lucene.search.grouping.BlockGroupingCollector
- scoreMode() - Method in class org.apache.lucene.search.grouping.FirstPassGroupingCollector
- scoreMode() - Method in class org.apache.lucene.search.grouping.GroupFacetCollector
- scoreMode() - Method in class org.apache.lucene.search.grouping.SecondPassGroupingCollector
- scorer - Variable in class org.apache.lucene.search.grouping.AllGroupHeadsCollector
- search(IndexSearcher, Query, int, int) - Method in class org.apache.lucene.search.grouping.GroupingSearch
-
Executes a grouped search.
- SearchGroup<T> - Class in org.apache.lucene.search.grouping
-
Represents a group that is found during the first pass search.
- SearchGroup() - Constructor for class org.apache.lucene.search.grouping.SearchGroup
- SecondPassGroupingCollector<T> - Class in org.apache.lucene.search.grouping
-
SecondPassGroupingCollector runs over an already collected set of groups, further applying a
GroupReducer
to each group - SecondPassGroupingCollector(GroupSelector<T>, Collection<SearchGroup<T>>, GroupReducer<T, ?>) - Constructor for class org.apache.lucene.search.grouping.SecondPassGroupingCollector
-
Create a new SecondPassGroupingCollector
- segmentFacetCounts - Variable in class org.apache.lucene.search.grouping.GroupFacetCollector
- SegmentResult(int[], int, int, int) - Constructor for class org.apache.lucene.search.grouping.GroupFacetCollector.SegmentResult
- segmentResults - Variable in class org.apache.lucene.search.grouping.GroupFacetCollector
- segmentTotalCount - Variable in class org.apache.lucene.search.grouping.GroupFacetCollector
- setAllGroupHeads(boolean) - Method in class org.apache.lucene.search.grouping.GroupingSearch
-
Whether to compute all group heads (most relevant document per group) matching the query.
- setAllGroups(boolean) - Method in class org.apache.lucene.search.grouping.GroupingSearch
-
Whether to also compute all groups matching the query.
- setCaching(int, boolean) - Method in class org.apache.lucene.search.grouping.GroupingSearch
-
Enables caching for the second pass search.
- setCachingInMB(double, boolean) - Method in class org.apache.lucene.search.grouping.GroupingSearch
-
Enables caching for the second pass search.
- setGroupDocsLimit(int) - Method in class org.apache.lucene.search.grouping.GroupingSearch
-
Specifies the number of documents to return inside a group from the specified groupDocsOffset.
- setGroupDocsOffset(int) - Method in class org.apache.lucene.search.grouping.GroupingSearch
-
Specifies the offset for documents inside a group.
- setGroups(Collection<SearchGroup<DoubleRange>>) - Method in class org.apache.lucene.search.grouping.DoubleRangeGroupSelector
- setGroups(Collection<SearchGroup<LongRange>>) - Method in class org.apache.lucene.search.grouping.LongRangeGroupSelector
- setGroups(Collection<SearchGroup<BytesRef>>) - Method in class org.apache.lucene.search.grouping.TermGroupSelector
- setGroups(Collection<SearchGroup<MutableValue>>) - Method in class org.apache.lucene.search.grouping.ValueSourceGroupSelector
- setGroups(Collection<SearchGroup<T>>) - Method in class org.apache.lucene.search.grouping.GroupReducer
-
Define which groups should be reduced.
- setGroups(Collection<SearchGroup<T>>) - Method in class org.apache.lucene.search.grouping.GroupSelector
-
Set a restriction on the group values returned by this selector
- setGroupSort(Sort) - Method in class org.apache.lucene.search.grouping.GroupingSearch
-
Specifies how groups are sorted.
- setIncludeMaxScore(boolean) - Method in class org.apache.lucene.search.grouping.GroupingSearch
-
Whether to include the score of the most relevant document per group.
- setNextReader(LeafReaderContext) - Method in class org.apache.lucene.search.grouping.AllGroupHeadsCollector.GroupHead
-
Called for each segment
- setNextReader(LeafReaderContext) - Method in class org.apache.lucene.search.grouping.DoubleRangeGroupSelector
- setNextReader(LeafReaderContext) - Method in class org.apache.lucene.search.grouping.GroupReducer
-
Called when the parent
SecondPassGroupingCollector
moves to a new segment - setNextReader(LeafReaderContext) - Method in class org.apache.lucene.search.grouping.GroupSelector
-
Set the LeafReaderContext
- setNextReader(LeafReaderContext) - Method in class org.apache.lucene.search.grouping.LongRangeGroupSelector
- setNextReader(LeafReaderContext) - Method in class org.apache.lucene.search.grouping.TermGroupSelector
- setNextReader(LeafReaderContext) - Method in class org.apache.lucene.search.grouping.ValueSourceGroupSelector
- setScorer(Scorable) - Method in class org.apache.lucene.search.grouping.AllGroupHeadsCollector.GroupHead
-
Called for each segment
- setScorer(Scorable) - Method in class org.apache.lucene.search.grouping.AllGroupHeadsCollector
- setScorer(Scorable) - Method in class org.apache.lucene.search.grouping.AllGroupsCollector
- setScorer(Scorable) - Method in class org.apache.lucene.search.grouping.BlockGroupingCollector
- setScorer(Scorable) - Method in class org.apache.lucene.search.grouping.DoubleRangeGroupSelector
- setScorer(Scorable) - Method in class org.apache.lucene.search.grouping.FirstPassGroupingCollector
- setScorer(Scorable) - Method in class org.apache.lucene.search.grouping.GroupFacetCollector
- setScorer(Scorable) - Method in class org.apache.lucene.search.grouping.GroupReducer
-
Set the Scorer on all group collectors
- setScorer(Scorable) - Method in class org.apache.lucene.search.grouping.GroupSelector
-
Set the current Scorer
- setScorer(Scorable) - Method in class org.apache.lucene.search.grouping.LongRangeGroupSelector
- setScorer(Scorable) - Method in class org.apache.lucene.search.grouping.SecondPassGroupingCollector
- setScorer(Scorable) - Method in class org.apache.lucene.search.grouping.TermGroupSelector
- setScorer(Scorable) - Method in class org.apache.lucene.search.grouping.ValueSourceGroupSelector
- setSortWithinGroup(Sort) - Method in class org.apache.lucene.search.grouping.GroupingSearch
-
Specified how documents inside a group are sorted.
- SKIP - Enum constant in enum class org.apache.lucene.search.grouping.GroupSelector.State
- sort - Variable in class org.apache.lucene.search.grouping.AllGroupHeadsCollector
- sortValues - Variable in class org.apache.lucene.search.grouping.SearchGroup
-
The sort values used during sorting.
- startFacetOrd - Variable in class org.apache.lucene.search.grouping.GroupFacetCollector
T
- TermGroupFacetCollector - Class in org.apache.lucene.search.grouping
-
An implementation of
GroupFacetCollector
that computes grouped facets based on the indexed terms from DocValues. - TermGroupSelector - Class in org.apache.lucene.search.grouping
-
A GroupSelector implementation that groups via SortedDocValues
- TermGroupSelector(String) - Constructor for class org.apache.lucene.search.grouping.TermGroupSelector
-
Create a new TermGroupSelector
- TopGroups<T> - Class in org.apache.lucene.search.grouping
-
Represents result returned by a grouping search.
- TopGroups(TopGroups<T>, Integer) - Constructor for class org.apache.lucene.search.grouping.TopGroups
- TopGroups(SortField[], SortField[], int, int, GroupDocs<T>[], float) - Constructor for class org.apache.lucene.search.grouping.TopGroups
- TopGroups.ScoreMergeMode - Enum Class in org.apache.lucene.search.grouping
-
How the GroupDocs score (if any) should be merged.
- TopGroupsCollector<T> - Class in org.apache.lucene.search.grouping
-
A second-pass collector that collects the TopDocs for each group, and returns them as a
TopGroups
object - TopGroupsCollector(GroupSelector<T>, Collection<SearchGroup<T>>, Sort, Sort, int, boolean) - Constructor for class org.apache.lucene.search.grouping.TopGroupsCollector
-
Create a new TopGroupsCollector
- toString() - Method in class org.apache.lucene.search.grouping.DoubleRange
- toString() - Method in record class org.apache.lucene.search.grouping.GroupDocs
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.lucene.search.grouping.GroupFacetCollector.FacetEntry
-
Returns a string representation of this record class.
- toString() - Method in class org.apache.lucene.search.grouping.LongRange
- toString() - Method in class org.apache.lucene.search.grouping.SearchGroup
- total - Variable in class org.apache.lucene.search.grouping.GroupFacetCollector.SegmentResult
- Total - Enum constant in enum class org.apache.lucene.search.grouping.TopGroups.ScoreMergeMode
- totalGroupCount - Variable in class org.apache.lucene.search.grouping.TopGroups
-
The total number of unique groups.
- totalGroupedHitCount - Variable in class org.apache.lucene.search.grouping.SecondPassGroupingCollector
- totalGroupedHitCount - Variable in class org.apache.lucene.search.grouping.TopGroups
-
Number of documents grouped into the topN groups
- totalHitCount - Variable in class org.apache.lucene.search.grouping.SecondPassGroupingCollector
- totalHitCount - Variable in class org.apache.lucene.search.grouping.TopGroups
-
Number of documents matching the search
- totalHits() - Method in record class org.apache.lucene.search.grouping.GroupDocs
-
Returns the value of the
totalHits
record component.
U
- uniqueValues - Variable in class org.apache.lucene.search.grouping.DistinctValuesCollector.GroupCount
- updateDocHead(int) - Method in class org.apache.lucene.search.grouping.AllGroupHeadsCollector.GroupHead
-
Updates the current most relevant document with the specified document.
V
- value() - Method in record class org.apache.lucene.search.grouping.GroupFacetCollector.FacetEntry
-
Returns the value of the
value
record component. - valueOf(String) - Static method in enum class org.apache.lucene.search.grouping.GroupSelector.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.lucene.search.grouping.TopGroups.ScoreMergeMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.apache.lucene.search.grouping.GroupSelector.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.lucene.search.grouping.TopGroups.ScoreMergeMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- ValueSourceGroupSelector - Class in org.apache.lucene.search.grouping
-
A GroupSelector that groups via a ValueSource
- ValueSourceGroupSelector(ValueSource, Map<Object, Object>) - Constructor for class org.apache.lucene.search.grouping.ValueSourceGroupSelector
-
Create a new ValueSourceGroupSelector
W
- withinGroupSort - Variable in class org.apache.lucene.search.grouping.TopGroups
-
How docs are sorted within each group
All Classes and Interfaces|All Packages