Is there a plan to support aggregation with hybrid search?

In Weaviate Aggregate search, one can combine a vector search (e.g., nearText) with an aggregation, in case you want to know the total results found for a given query.

Is there a plan to support aggregation with hybrid search?

Hi @junbetterway - I’ll ask around and get back to you.

Cheers,
Jp

Looks like not at this point - but if you would like to see this, please file a feature request. We listen to the community requests and votes for sure.

1 Like

Hey @junbetterway, Weaviate makes Aggregate queries with hybrid search available on the server, but there is not at this moment native withHybrid client support like for Get queries.

The clients should support this, but in the meantime, you can use the raw query method to run a query like this:

{
  Aggregate {
    Post(hybrid: {alpha: 0.45, query: "Apple computer"}) {
      meta {
        count
      }
      training {
        percentageFalse
      }
    }
  }
}
1 Like

Thanks @parkerduckworth for this - did not know you can achieve this in raw query :slight_smile:

Hopefully, it will be supported soon. Thanks!

1 Like