Re: [basex-talk] Selective Indexing: Do I need to make sure queries only use the indexed elements?

2016-07-19 Thread Christian Grün
Hi Max, > especially with the FTINDEX, say I indexed all elements with a > fulltext query that asks for any elments, e.g. > > //*[text() contains text { 'bar', 'baz' } any] Queries of this type will be evaluated by sequential scans, because all nodes need to be accessed anyway. You can check the

[basex-talk] Selective Indexing: Do I need to make sure queries only use the indexed elements?

2016-07-19 Thread Maximilian Gärber
Hi, especially with the FTINDEX, say I indexed all elements with a fulltext query that asks for any elments, e.g. //*[text() contains text { 'bar', 'baz' } any] would this only use the elements or traverse all other elments (without index) as well? How about ft:search("DB", "bar") - would thi