Amrit Verma created OAK-9281:
--------------------------------

             Summary: 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


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)

Reply via email to