A semantic_text field — text embedded by an integrated model — cannot be
declared here. Use Indexes.createForModel instead, which builds the
field from the model parameters you supply. semantic_text still appears on
the schema of an index you describe, as one of the IndexSchemaField
types.
Values you only need to filter on — numbers, booleans, string lists, and
plain strings — do not belong in the schema. Send them as document metadata
instead: they are indexed automatically at upsert time and appear on the
described index's IndexSchema.
The configuration of a single field in the schema of a new index.
A schema declares the searchable fields of the index. One of three creatable field types:
dense_vector— fixed-dimension vectors for semantic search.sparse_vector— sparse vectors for keyword or hybrid search.stringwithfullTextSearch— see FullTextSearchStringField.A
semantic_textfield — text embedded by an integrated model — cannot be declared here. Use Indexes.createForModel instead, which builds the field from the model parameters you supply.semantic_textstill appears on the schema of an index you describe, as one of the IndexSchemaField types.Values you only need to filter on — numbers, booleans, string lists, and plain strings — do not belong in the schema. Send them as document metadata instead: they are indexed automatically at upsert time and appear on the described index's IndexSchema.