Hi all.
My problems with Lucene query continue.
I would like how exactly the Lucene PARENT query works…..
If I execute the following line of code:
String path = "PARENT:\"" + STORE.getScheme() + "://" + STORE.getAddress() + "/" + "eec7d9d6-8470-11db-85c2-01d4040f47aa" + "\"";
Query query = new Query(Constants.QUERY_LANG_LUCENE, path);
The query works well and retrieves all the child nodes for the parent one indicated by its uuid.
My questions are:
1. Is it possible to modify the PARENT query in order to get by the ResultSet not only the child nodes but also the parent itself?
2. Is it possible to modify the PARENT query in order to get not only the child nodes of the parent but also all the childs at each deepening level?
All the best,
Sergio