Hi, (Please ignore the above post. I have posted it wrongly. Here is my Query)
I want to search particular items using the JCR PATH.
My Node Structure is as follows
-> demo-project
-> about(content node)
-> news-and-events (content node with title attribute value set as
[b]news[/b]
-> demo-features
-> news-overview (content node with title attribute value set as
[b]news[/b])
Now I want to search all nodes from both [b]demo-project[/b] and
[b]demo-features[/b] which has the word [quote]news[/quote] in the [i]title[/i]
attribute.
I tried
[code]select * from nt:base where title like '%news%' and (jcr:path like
'%/demo-project/%' or jcr:path like '%/demo-features/%')[/code]
but it gives the following error
[b]Invalid combination of jcr:path clauses[/b].
Please help me in this aspect.
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=701836ec-3e9e-496e-a27a-fed13c72558a
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------