On 29.11.10 17:07, "Thomas Mueller" <muel...@adobe.com> wrote: >What do you mean with "you only have one index from the JCR query API >point of view"? > >Relational databases support multiple indexes, and they choose the right >(well, hopefully) index / indexes depending on the query. I don't see how >Jackrabbit is not "allowed" to do that because of the query API.
Ok, yes, you could automatically aggregate multiple index as needed, but the example given by Ard //*[jcr:contains(*, 'term')] shows that this is difficult to implement and most likely much slower than a dedicated index. Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel