blob: b8ddf0cb1ce410924c6ea26b19ac5d7cc421fa05 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.search.grouping.result;
import com.yahoo.search.Result;
import com.yahoo.search.grouping.GroupingRequest;
import com.yahoo.search.result.Hit;
/**
* <p>This class represents a labeled hit list in the grouping result model. It is contained in {@link Group}, and
* contains one or more {@link Hit hits} itself, making this the parent of leaf nodes in the hierarchy of grouping
* results. Use the {@link GroupingRequest#getResultGroup(Result)} to retrieve grouping results.</p>
*
* @author Simon Thoresen
*/
public class HitList extends AbstractList {
/**
* <p>Constructs a new instance of this class.</p>
*
* @param label The label to assign to this.
*/
public HitList(String label) {
super("hitlist", label);
}
}
|