You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Davide Giannella <gi...@gmail.com> on 2014/06/18 10:35:24 UTC

QueryIndex, AdvancedQueryIndex and QueryIndexProvider

Good morning everyone,

for OAK-1717 I was going to implement a new AdvancedQueryIndex.
Unfortunately the QueryIndexProvider.getQueryIndexes() interface allows
returning a list of QueryIndex.

AdvancedQueryIndex is not a QueryIndex (does not extends) and for now
I'm implementing the QueryIndex interface and raising
UnsupportedOperationException in the QueryIndex methods.

IMO we should have QueryIndex as empty interface and then extends two
specialised interfaces: StandardQueryIndex and AdvancedQueryIndex. This
would allow us to have cleaner implementations.

WDYT? File a ticket for keeping track of it?

Cheers
Davide