public class Group extends HitGroup
Hit.getField(String)
to access), GroupList
and HitList
. Use the GroupingRequest.getResultGroup(com.yahoo.search.Result)
to retrieve an instance of this.Modifier and Type | Field and Description |
---|---|
private GroupId |
groupId |
private static long |
serialVersionUID |
RANKFEATURES_FIELD, SDDOCNAME_FIELD
Constructor and Description |
---|
Group(GroupId groupId,
Relevance rel)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
GroupId |
getGroupId()
Returns the id of this group.
|
GroupList |
getGroupList(String label)
Returns the
GroupList with the given label. |
HitList |
getHitList(String label)
Returns the
HitList with the given label. |
add, add, addAll, addDataListener, addError, analyze, asList, asUnorderedHits, clone, complete, copyOrdering, createAsync, deepIterator, get, get, get, get, getConcreteSize, getConcreteSizeShallow, getDeletionBreaksOrdering, getError, getErrorHit, getFilled, getOrderer, getSubgroupCount, incoming, isCached, isFillable, isFilled, iterator, remove, remove, remove, removeErrorHit, set, setDeletionBreaksOrdering, setError, setFillable, setFilled, setId, setId, setOrdered, setOrderer, setSorted, size, sort, trim, unorderedDeepIterator, unorderedIterator
assignId, buildHitField, buildHitField, buildHitField, changeFieldKey, clearFields, compareTo, equals, fieldIterator, fieldKeys, fields, getAddNumber, getDisplayId, getField, getFieldXML, getFilledInternal, getId, getQuery, getRelevance, getSearcherSpecificMetaData, getSource, getSourceNumber, getTypeString, getUnboldedField, hashCode, isAuxiliary, isMeta, removeField, request, reserve, setAddNumber, setAuxiliary, setCached, setField, setFilledInternal, setMeta, setQuery, setRelevance, setRelevance, setSearcherSpecificMetaData, setSource, setSourceNumber, stripCharacter, toString, types
addFreezeListener, freeze
finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
private static final long serialVersionUID
private final GroupId groupId
public GroupId getGroupId()
hit id
.public HitList getHitList(String label)
HitList
with the given label. The label is the one given to the EachOperation
that generated the list. This method returns null if no such
list was found.label
- The label of the list to return.public GroupList getGroupList(String label)
GroupList
with the given label. The label is the one given to the EachOperation
that generated the list. This method returns null if no such
list was found.label
- The label of the list to return.Copyright © 2017. All rights reserved.