Hmm, that sounds like it! I wish I could use DSL for this, too (I have
benchmarks set up only for DSL queries).
According to docs it's experimental feature, although quite old - I
wonder why that was not promoted (it's not covered .
Thanks for the directions
Radim
On 08/25/2014 10:28 AM, Gustavo Fernandes wrote:
On Mon, Aug 25, 2014 at 8:52 AM, Radim Vansa <[email protected]
<mailto:[email protected]>> wrote:
Hi,
as we've discovered some imperfections in current distributed index
implementation, I'd like to know whether it could be possible to store
on each node only index of those entries that are primary-owned on
that
node. Then, each query would be broadcast to other nodes and the
results
would be merged.
Hi,
Have you tried the ClusteredQuery feature introduced on [1]?
If you set index = LOCAL in the cache indexing config, only local
entries will be indexed
and then using a ClusteredQuery (see example in [2]), the query is
executed on all all nodes,
results are collected and merged before returning to the caller.
Pagination and Sorting should
be supported as well.
[1] https://issues.jboss.org/browse/ISPN-200
[2]
https://github.com/infinispan/infinispan/blob/master/query/src/test/java/org/infinispan/query/searchmanager/ClusteredCacheQueryTimeoutTest.java
Gustavo
Radim
--
Radim Vansa <[email protected] <mailto:[email protected]>>
JBoss DataGrid QA
_______________________________________________
infinispan-dev mailing list
[email protected] <mailto:[email protected]>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
_______________________________________________
infinispan-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Radim Vansa <[email protected]>
JBoss DataGrid QA
_______________________________________________
infinispan-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/infinispan-dev