jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rfr <ere...@gmail.com>
Subject Index referenced node
Date Fri, 11 May 2012 09:08:48 GMT

In our projet, we have some custom types with a few reference 
attributes. We tried to minimize the use of references but we could not 
avoid them totally.

Our client wants a powerfull search function and the use of lucene in 
jackrabbit helps us a lot. But we did not see a mean to configure 
aggregates on referenced nodes.

What we would like is to be able to retrieve a node through a full text 
search if another node, referenced by an attribute of the first node, 
matches the full text search.


[dummy:a] < nt:unstructured

[dummy:b] < nt:base
- dummy:val (REFERENCE) < dummy:a

if a node "node1" of type dummy:b reference a node2 of type dummy:a 
which dummy:val attributes is set to "hello", we would like to configure 
the indexing to allow a fulltext search with the value "hello" to return 

Is it possible directly? If not, is there a way to hook the indexing 
feature to allow our code to extract text from the referenced node for 
the indexer?

Thanks for your help!

Best regards,


View raw message