You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Andrei Dulceanu (Jira)" <ji...@apache.org> on 2021/01/11 16:27:00 UTC

[jira] [Updated] (OAK-9281) NRT Index - duplicate results with similarity search

     [ https://issues.apache.org/jira/browse/OAK-9281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrei Dulceanu updated OAK-9281:
---------------------------------
    Fix Version/s: 1.38.0

> NRT Index - duplicate results with similarity search
> ----------------------------------------------------
>
>                 Key: OAK-9281
>                 URL: https://issues.apache.org/jira/browse/OAK-9281
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: indexing
>            Reporter: Amrit Verma
>            Assignee: Amrit Verma
>            Priority: Major
>             Fix For: 1.38.0
>
>
> With NRT indexes, running similarity query results in duplicate results.
> Eg.
> if we have an {{async,nrt}} index which indexes the following two nodes -
> {code:java}
> /test/a[prop="hello world"]{code}
> {code:java}
> /test/b[prop="hello"] {code}
> and we execute the following query - 
> {code:java}
> select [jcr:path] from [nt:base] where similar(., '/test/a')
> {code}
> Both the nodes are returned twice.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)