Integrate Elasticsearch's knn query introduced in 8.12

Description

Create a 8.12 Dialect that will add knn as a query rather than a separate knn clause at the top level of a request.

See

Activity

Show:

Marko Bekhta January 30, 2024 at 8:38 AM

Note: We've decided to only keep the 8.12 integration and no "knn-clauses outside of the query section of the request" (https://github.com/hibernate/hibernate-search/pull/3934#discussion_r1469742358)

Yoann Rodière January 23, 2024 at 3:14 PM

The top-level knn doesn’t bring much compared to the new query AFAICT.

Honestly you might even want to replace the current implementation completely, and limit KNN support to ES 8.12+.

It’s a shame, because it means wasted time, but on the other hand it will prevent wasting more time maintaining this and handling bug reports.

Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Priority

Created January 23, 2024 at 3:04 PM
Updated February 12, 2024 at 1:33 PM
Resolved January 30, 2024 at 8:38 AM