Search by children names

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2009 05:52 AM
Hi,
I'm trying to define an advanced search with the following things to take into account:
- Some specific properties (cm:name= "my name", for example) <- There's no problem with this
- Some specific children (node.children[x].name="child1", node.children[y].name="child4", etc). <- Here is the problem
What's the query like? How can I get a node depending on some properties and depending also (and most important) on his children?
Thank you very much.
I'm trying to define an advanced search with the following things to take into account:
- Some specific properties (cm:name= "my name", for example) <- There's no problem with this
- Some specific children (node.children[x].name="child1", node.children[y].name="child4", etc). <- Here is the problem
What's the query like? How can I get a node depending on some properties and depending also (and most important) on his children?
Thank you very much.
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2009 12:00 PM
With Lucene you can retrieve a node using any property (or properties) defined on it.
As far as I know with Lucene you cannot search for a node using a criteria based on its children (but I'm not an expert on Lucene). Altough I think you can use a XPath query.
As far as I know with Lucene you cannot search for a node using a criteria based on its children (but I'm not an expert on Lucene). Altough I think you can use a XPath query.
