SearchScope
    • PDF

    SearchScope

    • PDF

    Article Summary

    Description

    Limited search settings

    Syntax

    private String scope_target;
    private Object option;
    

    Example

    {
      "search": {
        "price": {
          "main": {
            "query": "keyboard"
          }
        }
      },
      "scope": {
      "dp_price": {
        "range": ["1000","5000"]
      },
      "dp_color": {
        "exist": "black"
        }
      }
    }
    

    Field

    FieldRequiredTypeLimitationsDescription
    scope_targetYStringSelect among sections in which DocProperty is set.Target for limited search
    optionNObjectMap type object to set limited searches
  • key: Limited search method
  • value: Value that matches the limited search method
  • key option type
  • - exist, nexist: It limits search results to document properties where the specified values exist.
    - range, nrange: It limits search results to document properties where values in the specified range exist. (gte:lte)
    - gte, gt, lte, lt: It limits search results to document properties where the specified values exist (gte: greater than or equal to, gt: greater than, lte: less than or equal to, lt: less than)
    - bit, nbit: It limits search results to documents where the operation result of the specified bits and document properties is true.
    - bitmask: It limits search results to documents where the bitmask operation result of the specified bits and document properties is true.

    Was this article helpful?

    What's Next
    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.