Hi,

While working on Lucene property index support I need to modify the
logic to support multiple Lucene Index definitions. The approach used
in patch attached to OAK-2005 creates multiple LuceneIndex instances
which are bound to various Lucene index definitions [1].

However as discussed in last Oakathon we also need to be prepared to
support index at non root node (OAK-1980). And for that it was
suggested to return multiple IndexPlans from within Index impl which
take into account index definition determined via path restriction.

To do that later when actual query is to be performed I need to
corelated the IndexPlan with actual LuceneIndex. Current IndexTracker
tracks Lucene indexes via path. So I need to determine what index path
in repo given IndexPlan refers to. Similar thing was discussed
sometime back in [2].

So any thoughts on what approach to take

1. Use a custom IndexPlan impl and add required meta info like index
path in that
2. Have some way of passing a payload in the IndexPlan itself which an
index impl can use to manage such info

Chetan Mehrotra
[1] 
https://github.com/chetanmeh/jackrabbit-oak/compare/chetanmeh:trunk...OAK-2005?diff=split#diff-12
[2] http://markmail.org/thread/jjrkz7x7vwzunypa

Reply via email to