jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: On custom index configuration
Date Tue, 18 Sep 2012 16:04:42 GMT

On Tue, Sep 18, 2012 at 5:30 PM, Thomas Mueller <mueller@adobe.com> wrote:
>>First of all I think there shouldn't be just one single place in the
>>repository where all index configuration should go.
> Hm, how would the query engine detect what indexes are available?

At query time, when it knows the main path constraint used in the
query, it can walk down that path to detect which indexes are
available and useful for resolving the query.

At commit time, it can walk down the affected subtrees to detect which
indexes need to be updated.


Jukka Zitting

View raw message