jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers" <a.schrijv...@onehippo.com>
Subject RE: about query statements
Date Fri, 25 Jul 2008 08:41:22 GMT
You could add "and not(jcr:contains(templateId,'superman OR
*superman*')) "

Pls do realize that '*superman*' is quite horrible for search engines
(in speed), and IMHO, you search result won't improve either. Using
correct analyzers will help you much more, though a little understanding
of lucene analyzers would be needed.

-Ard

> In the full-text search, I would like to rule out a property.
> for example:
> //*[@jcr:uuid='a2e5266f-9f2f-4683-993f-b73f34ba94a7']//element
> (*,nt:base)[jcr:contains(.,'superman
> OR *superman*') and  @stateCode=1 and @directory=false()] 
> order by @lastModified ascending if I would like to rule out 
> the property "templateId",in the full-text search.
> How to do??
> --
> View this message in context: 
> http://www.nabble.com/about-query-statements-tp18647276p18647276.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
> 
> 

Mime
View raw message