SearchAggregate
- Print
- PDF
SearchAggregate
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Description
Aggregate search result settings
Syntax
private String docprop_name;
private List<String> max = new ArrayList<String>();
private List<String> min = new ArrayList<String>();
private String one;
private String sum;
Example
{
"search": {
"content": {
"main": {
"type": "null",
}
}
},
"aggregate": {
"dp_like_cnt": {
"max": ["dp_like_cnt", "dp_dislike_cnt"],
"min": ["dp_like_cnt", "dp_disklike_cnt"],
"one": "dp_like_cnt",
"sum": "_1"
}
}
}
Field
Field | Required | Type | Limitations | Description |
---|---|---|---|---|
docprop_name | Y | String | Select among sections in which DocProperty is set. | Document property based on which aggregate searches are performed. |
max | N | List | Target for the max operation of aggregate searches | |
min | N | List | Target for the min operation of aggregate searches | |
one | N | String | Target for the one operation of aggregate searches | |
sum | N | String | Target for the sum operation of aggregate searches. It provides the number of aggregate search results if the keyword, “_1” is used. |
Was this article helpful?