You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "muddukrishna83 (JIRA)" <ji...@apache.org> on 2018/08/24 10:52:00 UTC

[jira] [Created] (JCR-4356) How to search and replace for partial word

muddukrishna83 created JCR-4356:
-----------------------------------

             Summary: How to search  and replace for partial word 
                 Key: JCR-4356
                 URL: https://issues.apache.org/jira/browse/JCR-4356
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: JCR API
    Affects Versions: core 1.4.5
         Environment: PROD
            Reporter: muddukrishna83


Hi  Team,

I triing to search and replace  partial string muddu from full word 'muddukrishna'

But below query not able to get the result, please can anyone help me to resolve the issue with and without case sensitive.

 

String query = siteRepoPath + "/content/element(*,fsp:wigContainer)[jcr:contains(@prop:contentTemplate, '%muddu%')]";

I tried jcr:like also with different combinations *muddu*  but no luck.   Thanks.

 

Thanks,

Krishna MM

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)