[infinispan-dev] Distributed index?
Radim Vansa
rvansa at redhat.com
Mon Aug 25 05:09:29 EDT 2014
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 <rvansa at redhat.com
> <mailto:rvansa at redhat.com>> 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 <rvansa at redhat.com <mailto:rvansa at redhat.com>>
> JBoss DataGrid QA
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org <mailto:infinispan-dev at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Radim Vansa <rvansa at redhat.com>
JBoss DataGrid QA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20140825/7beb5558/attachment.html
More information about the infinispan-dev
mailing list