SearchConditionArray
The conditions of one search.
All conditions of the array must match (AND). An array with no conditions matches every object the
caller can see, deleted objects included. A typical array has the "not deleted" condition plus
the conditions of the search. SearchObjects, GetObjectCountInSearch and GetFacetValues
take exactly one array, although their fields are repeated.
| Full name | MFiles.SearchConditionArray |
|---|---|
| Proto file | mfiles/structs.proto |
Fields
| Field | Type | Number | Description |
|---|---|---|---|
value | repeated SearchCondition | 1 | The conditions. All of them must match. |
Used by methods
- IRPCSearch.GetFacetValues -- Retrieves the facet values for the documents that satisfy the specified search conditions.
- IRPCSearch.GetObjectCountInSearch -- Counts the objects that match the given conditions without returning them.
- IRPCSearch.SearchObjects -- Searches the vault for objects that match the given conditions.
- IRPCSearch.SearchReferencedValueListItems -- Gets value list items that are referenced by one or more documents (possibly limiting the set of documents with conditions) in ID order.
Used in fields
ArchiveDocsJob.object_filter-- The conditions that limit the object set of this archiving job.ExportedDataObjectType.object_filter-- The filtering conditions that limit the object set of this node.GetFacetValuesRequest.search_condition_arrays-- Exactly one condition array; all of its conditions must match. No array or more than one array fails with "Invalid search condition."GetObjectCountInSearchRequest.search_condition_arrays-- Exactly one condition array; all of its conditions must match. No array or more than one array fails with "The parameter is incorrect."SearchReferencedValueListItemsRequest.utf8szconds-- The conditions that the referring objects must match. Only the first condition array is used; all of its conditions must match.SearchObjectsRequest.conditions-- Exactly one condition array; all of its conditions must match. An empty array matches every object the caller can see, deleted objects included. No array or more than one array fails with "The parameter is incorrect."