[
https://issues.jboss.org/browse/ISPN-11014?page=com.atlassian.jira.plugin...
]
Gustavo Fernandes commented on ISPN-11014:
------------------------------------------
Your query is selecting all entities of type
{{io.enmasse.iot.registry.infinispan.data.DeviceInformation}} I assume this is the only
entity present in the cache? Could you also do a
{code:bash}
curl 'http://app:test12@infinispan-0:11222/rest/v2/caches/devices?actions=size'
{code}
Query returns wrong "total_count"
---------------------------------
Key: ISPN-11014
URL:
https://issues.jboss.org/browse/ISPN-11014
Project: Infinispan
Issue Type: Bug
Components: Remote Querying
Affects Versions: 10.0.1.Final
Reporter: Jens Reimann
Assignee: Gustavo Fernandes
Priority: Major
Attachments: infinispan.xml
Doing a query returns a wrong "total_results" value:
{code:java}
oc -n enmasse-infra rsh infinispan-0 curl
'http://app:test12@infinispan-0:11222/rest/v2/caches/devices?action=search&query=from+io.enmasse.iot.registry.infinispan.data.DeviceInformation+d&max_results=1'
{
"total_results" : 9,
"hits" : [ ]
}
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)