TrieveRubyClient::FieldCondition
Properties
| Name |
Type |
Description |
Notes |
| date_range |
DateRange |
|
[optional] |
| field |
String |
Field is the name of the field to filter on. The field value will be used to check for an exact substring match on the metadata values for each existing chunk. This is useful for when you want to filter chunks by arbitrary metadata. To access fields inside of the metadata that you provide with the card, prefix the field name with `metadata.`. |
|
| geo_bounding_box |
LocationBoundingBox |
|
[optional] |
| geo_polygon |
LocationPolygon |
|
[optional] |
| geo_radius |
LocationRadius |
|
[optional] |
| match |
Array<MatchCondition> |
Match is the value to match on the field. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. This is useful for when you want to filter chunks by arbitrary metadata. |
[optional] |
| range |
Range |
|
[optional] |
Example
require 'trieve_ruby_client'
instance = TrieveRubyClient::FieldCondition.new(
date_range: null,
field: null,
geo_bounding_box: null,
geo_polygon: null,
geo_radius: null,
match: null,
range: null
)