Repository navigation
Support for the Qdrant v1.20.0 API across @qdrant/qdrant-js, @qdrant/js-client-rest and @qdrant/js-client-grpc.
New in both clients
- BM25 ranking over text indexes:
scoringon text index params, and atextquery forquery/queryBatch/queryGroupsthat ranks by the payload field named inusing. Per-request IDF params now also apply to BM25. substringmatch condition for keyword fields.nestedoption on every payload index params type, to index each object of an array (e.g.offers[].price) as its own entry.max,minandacoshformula expressions.turbo8andturbo16vector datatypes, and thebits8TurboQuant bit size.- Point id tracker params (
id_tracker) on create/update collection. Collection info now reportscreated_at. codetokenizer for text indexes (source-code identifier splitting).
New in the REST client
createCollectionandrecreateCollectionacceptid_tracker.
await client.createPayloadIndex('docs', {field_name: 'title', field_schema: {type: 'text', scoring: true}, wait: true});
await client.query('docs', {query: {text: 'vector search'}, using: 'title'});
await client.query('docs', {query: {text: {query: 'vector search', scoring: {bm25: {k: 2.0, b: 0.5}}}}, using: 'title'});New in the gRPC client
TextQuery,Bm25Params,TextScoringParams,Match.substring,MaxExpression/MinExpression/acosh,Datatype.Turbo8/Turbo16,TurboQuantBitSize.Bits8,IdTrackerParams,CollectionInfo.created_atandTokenizerType.Code.- A text index used for BM25 needs an explicit
tokenizer, otherwise the server answersunknown tokenizer type.
Maintenance
- Dependencies updated and Dependabot alerts resolved. The one remaining is
braces, which has no patched release. - npm publishing now runs from the
releaseenvironment via trusted publishing (OIDC), with noNPM_TOKEN.
What's Changed
- ci: publish from release environment, drop unused NPM_TOKEN by @generall in #178
- v1.20 by @generall in #177
Full Changelog: v1.19.0...v1.20.0