<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hmm, that sounds like it! I wish I
could use DSL for this, too (I have benchmarks set up only for DSL
queries).<br>
According to docs it's experimental feature, although quite old -
I wonder why that was not promoted (it's not covered .<br>
<br>
Thanks for the directions<br>
<br>
Radim<br>
<br>
On 08/25/2014 10:28 AM, Gustavo Fernandes wrote:<br>
</div>
<blockquote
cite="mid:CAAV25CFhEz7dr5jC_ZTwf-NG02Vt1PoO0xQnhM-bRPXX22SbgQ@mail.gmail.com"
type="cite">
<div dir="ltr">On Mon, Aug 25, 2014 at 8:52 AM, Radim Vansa <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:rvansa@redhat.com" target="_blank">rvansa@redhat.com</a>></span>
wrote:<br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
as we've discovered some imperfections in current
distributed index<br>
implementation, I'd like to know whether it could be
possible to store<br>
on each node only index of those entries that are
primary-owned on that<br>
node. Then, each query would be broadcast to other nodes
and the results<br>
would be merged.<br>
<br>
</blockquote>
<div><br>
</div>
<div>Hi, <br>
<br>
</div>
<div>Have you tried the ClusteredQuery feature introduced on
[1]?<br>
</div>
<div><br>
</div>
<div>If you set index = LOCAL in the cache indexing config,
only local entries will be indexed <br>
and then using a ClusteredQuery (see example in [2]), the
query is executed on all all nodes, <br>
results are collected and merged before returning to the
caller. Pagination and Sorting should <br>
be supported as well. <br>
<br>
</div>
<div>[1] <a moz-do-not-send="true"
href="https://issues.jboss.org/browse/ISPN-200"
target="_blank">https://issues.jboss.org/browse/ISPN-200</a><br>
[2] <a moz-do-not-send="true"
href="https://github.com/infinispan/infinispan/blob/master/query/src/test/java/org/infinispan/query/searchmanager/ClusteredCacheQueryTimeoutTest.java">https://github.com/infinispan/infinispan/blob/master/query/src/test/java/org/infinispan/query/searchmanager/ClusteredCacheQueryTimeoutTest.java</a><br>
<br>
</div>
<div><br>
</div>
<div>Gustavo<br>
</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<span><font color="#888888"><br>
Radim<br>
<br>
--<br>
Radim Vansa <<a moz-do-not-send="true"
href="mailto:rvansa@redhat.com" target="_blank">rvansa@redhat.com</a>><br>
JBoss DataGrid QA<br>
<br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:infinispan-dev@lists.jboss.org"
target="_blank">infinispan-dev@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/infinispan-dev"
target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
</font></span></blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
infinispan-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/infinispan-dev">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Radim Vansa <a class="moz-txt-link-rfc2396E" href="mailto:rvansa@redhat.com"><rvansa@redhat.com></a>
JBoss DataGrid QA
</pre>
</body>
</html>