On 18/06/2014 10:26, Tommaso Teofili wrote: > it would be ok for me to either deprecate it or improve the semantics > of the cost calculation (e.g. explicitly introduce other metrics to be > taken into account in the cost calculation: local / remote index, With the IndexPlan.isDelayed() we instruct the query engine if the current index is asynchronous or not
http://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/spi/query/QueryIndex.IndexPlan.html#isDelayed%28%29 > since the FullTextQueryIndex seems to be a marker interface, could we > "merge" it some way into the AdvancedQueryIndex? Just to make things > simpler. I think we already have this aspect in the IndexPlan.isFullText() http://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/spi/query/QueryIndex.IndexPlan.html#isFulltextIndex%28%29 Cheers Davide
