Indexes
Indexes
Due to scale considerations a metadata query might return a HTTP 403
error
when the metadata template has been applied to more than 10,000 files or
folders. A search index can be created to resolve this error for a specific
search query.
Request an index
To create an index, we will need to be informed of the intended query to be
run, including the exact values for the from
, query
, and order_by
parameters of the request.
An index will then be created and you will be provided with the the name of this index. If you prefer to specify a name for the index please provide that name upon requesting the index.
Indexes are automatically applied during the metadata querying process when more than 10,000 files or folders are being searched. No further action beyond creating the index is needed to have the index applied.
Example index request
The following is an example request for an index. It is essential to include all
the information for the from
, query
, and order_by
parameters.
Query description | Returns files of the type Customer Submission which are associated with a specific Account Number and for which the Status is Pending. Orders the response by the Submission Date. |
from | enterprise_123456.customerInfo |
query | accountNumber = :argAccountNum AND status = :argStatus |
order_by | [{ "field_key": "submissionDate","direction": "desc" }] |