Hi Dieter,

I usually use queries in xpath to search on a tree, which seems more appropriate.
To search on a magnolia property of a node you can do like this:
//path/to/the/node/[EMAIL PROTECTED]:TheProperty='TheValue']

Just for a node:
//path/to/the/node

To know the type of node that you search, use the jcr query tool in admininterface.

HTH

CAPITAINE Harold

dieter a écrit :
Hi, I would like to implement an advanced search in magnolia and i assume
that would involve querying using the underlying jackrabbit or lucene api.
Now obviously the data is not sored in the same manner as in magnolia, and I
have seen from the dev-search example how to query using jackrabbit " SELECT
* FROM nt:base where jcr:path like '/%' and title like '%' " . This is great
for title, but how do i go about searching on other custom attributes in
lucene or in jackrabbit?

Thanks



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to