SearchScope
- Print
- PDF
SearchScope
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
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
Field | Required | Type | Limitations | Description |
---|---|---|---|---|
scope_target | Y | String | Select among sections in which DocProperty is set. | Target for limited search |
option | N | Object | Map type object to set limited searches - 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?