Class SearchGroup<T>

java.lang.Object
org.apache.lucene.search.grouping.SearchGroup<T>
Direct Known Subclasses:
CollectedSearchGroup

public class SearchGroup<T> extends Object
Represents a group that is found during the first pass search.
WARNING: This API is experimental and might change in incompatible ways in the next release.
  • Field Details

    • groupValue

      public T groupValue
      The value that defines this group
    • sortValues

      public Object[] sortValues
      The sort values used during sorting. These are the groupSort field values of the highest rank document (by the groupSort) within the group. Can be null if fillFields=false had been passed to FirstPassGroupingCollector.getTopGroups(int)
  • Constructor Details

    • SearchGroup

      public SearchGroup()
  • Method Details