Is it possible to make Lucene queries in alfresco that find nodes based on their parent/children properties -


is possible make lucene query in alfresco finds nodes based on parent/children properties? example want find nodes have property "foo" set '1' , have nodes associated them child association property "baz" set '2' (maybe specifing somehow name of child association)

something

@crl\:numeroatto:"6555" , @crl\:firmatario:"marco rossi" 

where "numeroatto" property of parent node , "firmatario" property of child. association type "firmatari" (it's not in query because don't know how use it)

to clearer i'm trying tell lucene: "find nodes have property numeroatto set 6555 , have children (association type children: firmatari) property "firmatario" set marco rossi.

thanx in advance

there no direct lucene way this.

another idea: first return of parent nodes , build searches based on root of each returned node.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -