> 
> jcr:contains can handle lucene syntax, so also the wildcard 

to be sure : lucene syntax, so a wildcard is * and not %


> query you are suggesting. But, at [1] you can already see 
> that a wildcard prefix will be very expensive (though depends 
> on the number of different values you have for a property). 
> For jcr:like a prefix query a even *much* more expensive than 
> for jcr:contains.
> 
> I am though quite sure you can solve the thing you want to 
> achieve differently. What is the usecase?
> 
> -Ard
> 
> [1]
> http://lucene.zones.apache.org:8080/hudson/job/Lucene-Nightly/
> javadoc/or
> g/apache/lucene/search/WildcardQuery.html
> 
> ps the link seems to be down at the moment of this writing
> 
> > Juan
> > --
> > View this message in context: 
> > http://www.nabble.com/does-jcr%3Alike-has-a-wildcard-like-jcr%
> > 3Acontain--tp15143136p15144614.html
> > Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
> > 
> > 
> 

Reply via email to