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 "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2016/02/10 00:42:18 UTC

[jira] [Commented] (OAK-3994) Simple query on suggestion/spellcheck with unambiguous index def and one descendant clause should work

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

Vikas Saurabh commented on OAK-3994:
------------------------------------

Committed on trunk at [r1729505|http://svn.apache.org/r1729505]. Added ignored suggest test for sibling tasks but not for spellcheck (as they'd be unnecessary ignored case mirroring suggest ones).

Also, the implementation +filters+ suggestions/spellchecks. There's no attempt to try more suggestions/spellchecks if no results pass through acl/descendant filter ([~teofili], I think we can do that as improvement later if required).

> Simple query on suggestion/spellcheck with unambiguous index def and one descendant clause should work
> ------------------------------------------------------------------------------------------------------
>
>                 Key: OAK-3994
>                 URL: https://issues.apache.org/jira/browse/OAK-3994
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: lucene
>            Reporter: Vikas Saurabh
>            Assignee: Vikas Saurabh
>             Fix For: 1.4
>
>
> This is the simplest case for OAK-3973. This is about the most basic case where a suggestion/spellcheck query with:
> * single isdescendantnode() clause
> * unambiguous index def (unlike OAK-3992)
> * no union (unlike OAK-3993)
> should work. That means that we should be able to work with:
> * index on root and descendant clause on a sub-tree
> * index on say "/a" and descendant clause also on "/a"
> * index on say "/a" and descendant clause on "/a/b"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)