Hi,
While working on multiple Lucene index support (OAK-2005) I need to
make LuceneIndex implement the AdvanceQueryIndex. As part of OAK-2005
we would be having multiple Lucene indexes where each index would be
configured to store different types of data.
As part of getPlans call LuceneIndex would be returning multiple
IndexPlans depending on which index meet the Filter criteria upto what
level. In doing that LuceneIndex would have already determined the
Lucene index it can use for that plan. This information can then be
used to pickup the required Index when actual {{query}} method is
invoked with given plan
Would it be ok to provide a custom impl of IndexPlan which embeds
LuceneIndex related custom data like which index to use for this plan?
Would it be safe to assume that IndexPlan instance returned from the
getPlans call would be passed back in the {{query}} call?
Chetan Mehrotra