diff --git a/src/turbopuffer.ts b/src/turbopuffer.ts index 0aca6db..eded897 100644 --- a/src/turbopuffer.ts +++ b/src/turbopuffer.ts @@ -29,6 +29,7 @@ export type Schema = Record< type?: string; filterable?: boolean; bm25?: boolean | Record; + full_text_search?: boolean | Record; } >; export type RankBySingleField = [string, "BM25", string]; @@ -446,8 +447,8 @@ function fromColumnar(cv: ColumnarVectors): Vector[] { vector: cv.vectors[i], attributes: cv.attributes ? Object.fromEntries( - attributeEntries.map(([key, values]) => [key, values[i]]), - ) + attributeEntries.map(([key, values]) => [key, values[i]]), + ) : undefined, }; }