ChlineSaurus opened a new pull request, #3298:
URL: https://github.com/apache/jackrabbit-oak/pull/3298

   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.
   
   Not sure if it is worth a feature toggle, on the one hand it changes 
behavior (instead of returning no results it returns lexical results), but on 
the other hand in my opinion it is a clear bug. I split the toggle into a 
separate commit, so we could use it without. 
   
   If I should merge it first to a feature branch to run the CI, please create 
a branch for me that I can open the PR against. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to