metadata is JSONB:
metadata JSON may look like:
metadata.color and metadata.location as text.
By default, all text sub-fields of a JSON object use the same tokenizer. The tokenizer can be configured the same way as text fields:
Add JSON and JSONB types to the index
metadata is JSONB:
metadata JSON may look like:
metadata.color and metadata.location as text.
By default, all text sub-fields of a JSON object use the same tokenizer. The tokenizer can be configured the same way as text fields: