[ 
https://issues.apache.org/jira/browse/OAK-9829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17563807#comment-17563807
 ] 

Thomas Mueller commented on OAK-9829:
-------------------------------------

The problem was, if there is a node (document) without feature vector, it 
didn't work.

> elastic: similarity query does not work when there are docs without FVs
> -----------------------------------------------------------------------
>
>                 Key: OAK-9829
>                 URL: https://issues.apache.org/jira/browse/OAK-9829
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Fabrizio Fortino
>            Assignee: Fabrizio Fortino
>            Priority: Major
>
> "root_cause" : [
>       \{
>         "type" : "elastiknn_runtime_exception",
>         "reason" : "Could not advance binary doc values reader from doc ID 
> [200] to doc ID [202]. It is possible that the document [202] does not have a 
> vector. Consider trying with an `exists` query: \"exists\": { \"field\": 
> \"sim:jcr:content/metadata/imageFeatures/haystack0\" }"
>       }
>     ]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to