Re: [basex-talk] Applying indexes

2015-08-03 Thread Menashè Eliezer
Hi, So in case of six exact conditions (With different xpaths) should I see the usage of six indexes? Anyway, I'll send the exact query inside the old thread. On 07/30/2015 10:21 AM, Christian Grün wrote: Hi Menashè, Because none of our index structures is particularly suited for range

Re: [basex-talk] Applying indexes

2015-08-03 Thread Christian Grün
So in case of six exact conditions (With different xpaths) should I see the usage of six indexes? It always depends on your data. My assumption is that you'll only have one index access in your optimized query. Sure, I've also responded to it:

Re: [basex-talk] Applying indexes

2015-07-30 Thread Christian Grün
Hi Menashè, 1. In which cases the applying index phrase should I see in the query plan? There is no simple answer to that question. The query optimizer tries to select a query plan that is evaluated faster than others. The following query may illustrate this: for $p in db:open('db')//person

[basex-talk] Applying indexes

2015-07-29 Thread Menashè Eliezer
Hello, 1. In which cases the applying index phrase should I see in the query plan? I have an old query (the one I've sent here at 06/22/2015) where only for one condition I've seen applying index, and even this one doesn't appear anymore using a newer (8.2.2) version of BaseX and a