Build metadata filters for search queries
Public fields
conditions
List of filter conditions
Methods
Method new()
Create a new Filter
Arguments
...
Named filter conditions
Method eq()
Add equality condition
Arguments
field
Field name
value
Value to match
Returns
Self for chaining
Method ne()
Add not-equal condition
Arguments
field
Field name
value
Value to exclude
Returns
Self for chaining
Method gt()
Add greater-than condition
Arguments
field
Field name
value
Threshold value
Returns
Self for chaining
Method lt()
Add less-than condition
Arguments
field
Field name
value
Threshold value
Returns
Self for chaining
Method in_list()
Add in-list condition
Usage
Filter$in_list(field, values)
Arguments
field
Field name
values
Vector of values
Returns
Self for chaining
Method to_list()
Convert to list for API
Returns
List representation
Method clone()
The objects of this class are cloneable with this method.
Usage
Filter$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.