Marvin Wiedenkeller created OAK-12539:
-----------------------------------------
Summary: Elastic: hybrid query returns no results if the vector
space is not in the index mapping
Key: OAK-12539
URL: https://issues.apache.org/jira/browse/OAK-12539
Project: Jackrabbit Oak
Issue Type: Bug
Reporter: Marvin Wiedenkeller
If an inference config is enabled after the index was created, the index has no
mapping for its vector space. A hybrid query then fails in Elasticsearch with
"failed to find nested object under path", and Oak returns 0 results instead of
the full-text results. The fix sets ignore_unmapped on the nested KNN query, so
the vector part matches nothing and the full-text part still works.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)