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

Remote query: disabling indexing for a type with @Indexed(false) still creates empty documents in index

    XMLWordPrintable

Details

    Description

      When adding to cache protobuf encoded entries of types that are specifically annotated as @Indexed(false) we would expect that nothing is added to the index. But a document with no fields is added instead, cluttering the index. This does not impact the correctness of query results but it impacts performance because every put operation touches the index even if not required. This bug is a consequence of some limitations of the integration point between infinispan and hibernate search: the FieldBridge api.

      Attachments

        Activity

          People

            anistor Adrian Nistor
            anistor Adrian Nistor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: