Hi,

On Tue, Sep 18, 2012 at 5:30 PM, Thomas Mueller <[email protected]> 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.

BR,

Jukka Zitting

Reply via email to