A string field indexed for full-text search.
string
fullTextSearch is what makes the field searchable, so it is required. Pass an empty object to accept the text analysis defaults, or set options explicitly. The same field can also declare embed and sparseEmbed; see IntegratedEmbeddingStringField.
fullTextSearch
embed
sparseEmbed
import type { FullTextSearchStringField } from '@pinecone-database/pinecone';const field: FullTextSearchStringField = { type: 'string', fullTextSearch: {},}; Copy
import type { FullTextSearchStringField } from '@pinecone-database/pinecone';const field: FullTextSearchStringField = { type: 'string', fullTextSearch: {},};
Full-text search settings. Pass {} for the defaults.
{}
A
stringfield indexed for full-text search.fullTextSearchis what makes the field searchable, so it is required. Pass an empty object to accept the text analysis defaults, or set options explicitly. The same field can also declareembedandsparseEmbed; see IntegratedEmbeddingStringField.