Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12218

Indexed caches with non-indexed entities query inconsistency

XMLWordPrintable

      When a cache is indexed, but the protobuf entitiy is not:

      "FROM Entity" returns zero results
      "FROM Entity WHERE <predicate>" return results

      It appears in the first case the query goes to the index (that will be empty), but not in the second where it does a non-indexed query

      On a side note, if I configure a cache as indexed, but do not index any type in the protobuf, it returns ISPN014054: Trying to execute query from xyz, but no type is indexed on cache. This should be improved to mention the schema needs to be changed

            gfernand@redhat.com Gustavo Fernandes (Inactive)
            gfernand@redhat.com Gustavo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: