{ "name": "RestGroupByValue", "structure": { "type": "object", "required": [ "computedFieldResults", "lookupValue", "numberOfResults", "score", "value", "valueType" ], "properties": { "value": { "type": "string", "description": "The Group By value name." }, "numberOfResults": { "type": "integer", "format": "int32", "description": "The number of query result items having this field value." }, "score": { "type": "integer", "format": "int32", "description": "The Group By value score, computed from the `numberOfResults` value as well as from the position of the items having this value in the ranked query result set." }, "valueType": { "type": "string", "description": "The type of Group By value." }, "computedFieldResults": { "type": "array", "description": "The results of the computed fields (see the `computedFields` Group By parameter).", "items": { "type": "number", "format": "float" } }, "lookupValue": { "type": "string", "description": "> This property is deprecated; it should normally not be populated if the query was sent against a Coveo Cloud V2 index.\n\nThe lookup field value name." }, "Value": { "type": "string", "description": "> This property is deprecated; it should not be populated by Search API V2 searches." }, "NumberOfResults": { "type": "integer", "format": "int32", "description": "> This property is deprecated; it should not be populated by Search API V2 searches." }, "Score": { "type": "integer", "format": "int32", "description": "> This property is deprecated; it should not be populated by Search API V2 searches." }, "ComputedFieldResults": { "type": "array", "description": "> This property is deprecated; it should not be populated by Search API V2 searches.", "items": { "type": "number", "format": "double" } }, "LookupValue": { "type": "string", "description": "> This property is deprecated; it should not be populated by Search API V2 searches." } } } }