typescript-client icon indicating copy to clipboard operation
typescript-client copied to clipboard

Support `groupby` operations in `bm25` and `hybrid` queries

Open tsmith023 opened this issue 1 year ago • 0 comments

The capability of grouping the results of a bm25 or hybrid search by a property will be coming in 1.25 through https://github.com/weaviate/weaviate/pull/4477

The v2 GraphQLGetter builder method should therefore be refactored to allow calling withGroupBy alongside withBm25 and withHybrid

If this is already permitted by the client in that the query will be sent regardless of whether the server can support the feature, then no changes need to be made as the client will simply work with the new Weaviate version and this issue can be closed

tsmith023 avatar Apr 25 '24 09:04 tsmith023