SearchAggregate
    • PDF

    SearchAggregate

    • PDF

    Article Summary

    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

    FieldRequiredTypeLimitationsDescription
    docprop_nameYStringSelect among sections in which DocProperty is set.Document property based on which aggregate searches are performed.
    maxNListTarget for the max operation of aggregate searches
    minNListTarget for the min operation of aggregate searches
    oneNStringTarget for the one operation of aggregate searches
    sumNStringTarget 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?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.