Variable: searchHitSchema
constsearchHitSchema:ZodObject<{fields:ZodRecord<ZodString,ZodUnknown>;id:ZodString;index:ZodOptional<ZodString>;score:ZodNumber; },$strip>
Schema for a single search hit.
searchHit fields
Section titled “searchHit fields”id: The document’s primary-key value.score: Relevance score; higher is more relevant.fields: The returned columns for this document, keyed by column name.index(optional): Which index the hit came from (set on universal/federated results).