Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

Use care when designing searches that span entire domains. In particular, be aware that context (domain and bucket) names are looked up from their underlying the contextid, so these domain-wide searches incur an additional performance penalty:

...

Swarm Setting

Effect

search.caseInsensitive = 1

All name-based searches use the name.lower field, so that SCSP names searches are always case-insensitive.

search.caseInsensitive = 0

All name-based searches use the name field, and will therefore be case-sensitive.

Info

Important

Custom metadata values are always indexed to be only case-sensitive or case-insensitive, depending on the value of search.caseInsensitive. If an index is built with the wrong setting, you must change the setting and build a new index.

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

Tip

You can use ">=" or "=>" and "<=" or "=<".

Using content-length
Code Block
languagexml
GET /?format=json&domain=myDomain&content-length=1024 
GET /?format=json&domain=myDomain&content-length<=1024 
GET /?format=json&domain=myDomain&content-length>=1024

...