You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Mark Herman <MH...@NBME.org> on 2012/04/06 03:04:57 UTC

Re: Full-text search for node name

Vlado wrote
> 
> Another solution could be with SQL LIKE query, but I prefer the full-text
> search. And XPath's fn:name() is also not an option here.
> 
> Is this possible to index the names of the nodes via configuration changes
> or I have to create a new property, which contains the name itself?
> 

May not be the answer you want but I would just use the JCR SQL[2] query and
contains() to do your query.  Mainly because that is what's in the standard,
so any JR update might change their underlying implementation (like a config
option you're asking for) but as long as they support jcr2 your code should
work. 


--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Full-text-search-for-node-name-tp4531210p4536462.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.