Table of Contents |
---|
...
Searches can take place across all objects within the domain or searches can be constrained to the context of a particular bucket. When full metadata search is enabled, you can use any custom metadata field value as a search constraint.
Info |
---|
Best practiceNever Do not apply a context filter redundantly in cases where Swarm filters by default, such as when searching for named objects in a bucket, buckets in a domain, or unnamed objects in a domain. |
...
Info |
---|
TipCheck the performance impact whenever when sorting and filtering across an entire domain. |
...
Info |
---|
ImportantCustom metadata values are always indexed to be only case-sensitive or case-insensitive, depending on the value of |
Using content-length
The content-length field for objects is recognized as a numeric field and supports equality, less-than-equal-to, and greater-than-equal-to matching operators.
Info |
---|
TipYou can use ">=" or "=>" and "<=" or "=<". |
Using content-length
Code Block | ||
---|---|---|
| ||
GET /?format=json&domain=myDomain&content-length=1024 GET /?format=json&domain=myDomain&content-length<=1024 GET /?format=json&domain=myDomain&content-length>=1024 |
...