[infinispan-issues] [JBoss JIRA] (ISPN-11014) Query returns wrong "total_count"
Jens Reimann (Jira)
issues at jboss.org
Mon Dec 2 11:13:01 EST 2019
[ https://issues.jboss.org/browse/ISPN-11014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819843#comment-13819843 ]
Jens Reimann commented on ISPN-11014:
-------------------------------------
{quote}Your query is selecting all entities of type io.enmasse.iot.registry.infinispan.data.DeviceInformation I assume this is the only entity type present in the cache? Could you also do a
{code:java}
curl 'http://app:test12@infinispan-0:11222/rest/v2/caches/devices?actions=size'
{code}
to compare the index result size with the actual data in the cache?{quote}
Yes, this is the only entity type. Sure, I will do this the next time. Anything else you want me to capture?
> 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)
More information about the infinispan-issues
mailing list