Lucene search corresponding to CMIS IN_TREE query
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2011 10:05 AM
Hi
Is there a way to make searches with lucene in alfresco in the same way as the CMIS IN_TREE function works, search all decendants in the query?
Using the PARENT selector I have managed to select the direct children of a node, but I need to be able to search all nodes below a certain node in a tree.
Thanks!
Is there a way to make searches with lucene in alfresco in the same way as the CMIS IN_TREE function works, search all decendants in the query?
Using the PARENT selector I have managed to select the direct children of a node, but I need to be able to search all nodes below a certain node in a tree.
query += "+PARENT:\"workspace://SpacesStore/"+ targetNode.getId() + "\"";
Thanks!
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2011 04:00 PM
Hi
You would have to get the PATH for the node and then do:
PATH:"<path_for_node>//*"
Andy
You would have to get the PATH for the node and then do:
PATH:"<path_for_node>//*"
Andy
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2011 08:21 AM
Thanks
