weaviate / weaviate-go-client

BSD 3-Clause "New" or "Revised" License
29 stars 11 forks source link

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

Open tsmith023 opened 5 months ago

tsmith023 commented 5 months ago

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 GetBuilder struct 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