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

muddukrishna83 updated JCR-4356:
--------------------------------
    Description: 
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

 

  was:
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

 


> How to search  and replace for partial text from fullword.
> ----------------------------------------------------------
>
>                 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
>            Priority: Critical
>              Labels: jackrabbit-core,
>
> 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)

Reply via email to