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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2014/11/12 06:44:33 UTC

[jira] [Commented] (OAK-2190) Support for like query for string

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

Chetan Mehrotra commented on OAK-2190:
--------------------------------------

+1 for applying the Lucene level patch.

For changes in QueryEngine would wait for [~tmueller] comments. However as mentioned earlier QueryEngine should pass the like clause as is and not convert it into a range query. This should be left to Index implementations

> Support for like query for string
> ---------------------------------
>
>                 Key: OAK-2190
>                 URL: https://issues.apache.org/jira/browse/OAK-2190
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: oak-lucene
>            Reporter: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.0.9, 1.2
>
>         Attachments: OAK-2190-Like.patch, OAK-2190.patch
>
>
> Lucene property index should support {{LIKE}} operation. So a query like
> bq. select [jcr:path] from [nt:base] where propa like 'hum%'
> Should be implemented in terms of prefix query



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