Skip to main content

Interface: ProductSearchFieldsInput

Defined in: type/ProductSearchFieldsInput.ts:5

Input object for ProductSearchFieldsInput

Properties​

boost​

boost: number

Defined in: type/ProductSearchFieldsInput.ts:9

Relevance boost value applied to matches in these fields


fieldNames​

fieldNames: ProductSearchableField[]

Defined in: type/ProductSearchFieldsInput.ts:7

List of searchable fields to query against (e.g., NAME, SKU, DESCRIPTION)


partialBoost?​

optional partialBoost?: number

Defined in: type/ProductSearchFieldsInput.ts:11

Partial matching boost value for ngram/edge-ngram fields. When omitted, defaults to ceil(boost * 0.5)