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 "Amit Jain (JIRA)" <ji...@apache.org> on 2014/09/30 09:28:41 UTC

[jira] [Updated] (OAK-2137) Lucene: change path indexing and querying

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

Amit Jain updated OAK-2137:
---------------------------
    Fix Version/s:     (was: 1.1)
                   1.1.1

> Lucene: change path indexing and querying
> -----------------------------------------
>
>                 Key: OAK-2137
>                 URL: https://issues.apache.org/jira/browse/OAK-2137
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Thomas Mueller
>             Fix For: 1.1.1
>
>
> Currently, the queries can not use the path restriction as described in OAK-2134. Using Lucene for the path restriction would be nice, but requires some more work. Two solutions to investigate are:
> * (a) only index the path prefix (for example, the 20 first characters of the path, or only the first 5 path entries), and
> * (b) also index all parent paths of a node (not store those in the document; just index them); when querying, use an exact match for the parent.
> Solution (a) will reduce the index size in most cases, but is not guaranteed to always solve the problem, if there are many nodes that have distinct short path (for example, a counter node near the root node).
> Solution (b) will increase the index size (how much needs to be tested), and would solve the problem.



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