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 "Amrit Verma (Jira)" <ji...@apache.org> on 2020/11/25 08:43:00 UTC
[jira] [Resolved] (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 ]
Amrit Verma resolved OAK-9281.
------------------------------
Resolution: Fixed
Committed in -
http://svn.apache.org/viewvc?view=revision&revision=1883816
> 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
>
> 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)