jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea K." <akre...@alteanet.it>
Subject Search within nodes with different properties
Date Fri, 15 Jun 2007 08:50:34 GMT

Hi,
we are implementingg a research procedure that works on (i.e.) two nodes of
the same type.
These nodes are unstructured and doesn't have the same properties:

NODE STRUCTURE:
name 
surname
text

NODE1:
name
text

NODE2:
name
text

If I search for surname the code get an exception.

That's the query:
CONTENT/SITE/EVENT//*[(jcr:contains(@cms_abstract_def,'*pippo*') or
jcr:contains(@cms_abstract_en,'*pippo*') or
jcr:contains(@cms_abstract_it,'*pippo*') or
jcr:contains(@cms_abstract_de,'*pippo*')) and
jcr:contains(@cms_metatag,'*test*') and (@cms_enabled) and (@cms_searchable)
and jcr:contains(@cms_contenttype,'CMSEVENT')]

Best regards.
Andrea -

-- 
View this message in context: http://www.nabble.com/Search-within-nodes-with-different-properties-tf3926548.html#a11135459
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message