<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Sergey,<br>
keys are just keys. Lookup by key works only if you know the key
in advance, be it a simple or complex key.<br>
Keys are not indexed. So no, searching for keys does not work and
there is no plan to support that. It's one of the many things
Infinispan cannot do because it is not a relational database and
we do no plan to become one :).<br>
But there are ways to overcome this limitation. You already
de-normalize your data when placing it in the grid, because
Infinispan does not manage relations. During this process you
should copy relevant properties of the key into the value itself
if you intend to search by those properties.<br>
<br>
Adrian<br>
<br>
On 04/23/2018 11:26 AM, Sergey Chernolyas wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADd9erzjqy0iwmPbgkEK++X0-P-sHsqJugAVOgRPV_=AoCS6Lg@mail.gmail.com">
<div dir="ltr">
<b style="font-weight:normal"
id="gmail-docs-internal-guid-07079801-f19c-8de9-bbdc-d9f917ed0989"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Hi! </span></b>
<div><b style="font-weight:normal"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">I want ask about search keys. For example, I have a complex key and the complex key (POJO) have a field “type”. It is logical if I find all keys with required type by query. Now query for complex keys not work. Method “list()” return empty list(). Is the feature implementable?</span></b>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">---------------------<br>
<br>
With best regards, Sergey Chernolyas</div>
</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>
<p><br>
</p>
</body>
</html>