public class Group
extends java.lang.Object
implements java.io.Serializable
GroupCommand
.
In case of a field value or a function result the value is always a indexed value.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
_groupValue |
private SolrDocumentList |
_result |
Constructor and Description |
---|
Group(java.lang.String groupValue,
SolrDocumentList result)
Creates a Group instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGroupValue()
Returns the common group value that all documents share inside this group.
|
SolrDocumentList |
getResult()
Returns the documents to be displayed that belong to this group.
|
private final java.lang.String _groupValue
private final SolrDocumentList _result
public Group(java.lang.String groupValue, SolrDocumentList result)
groupValue
- The common group value (indexed value) that all documents share.result
- The documents to be displayed that belong to this grouppublic java.lang.String getGroupValue()
public SolrDocumentList getResult()
group.offset
and group.limit
parameters.