Mark fields for java classes with protobuf annotations correct to enable indexing in RHDG
Issue
- After update of RHDG to a new version there are the following warnings found in the logfile, how to add the option indexed_by_default to get rid of this message?
WARN [org.infinispan.query.remote.impl.indexing.WrappedMessageTagHandler] (HotRod-hotrod-ServerHandler-9-4) ISPN028012: Using deprecated legacy indexing mode (all fields) for message type 'org.infinispan.example.Entity' missing indexing annotations defined in file 'entity.proto'. Please annotate your message type for indexing or add 'option indexed_by_default = false;' to your schema file to disable indexing of message types that do not have indexing annotations.
- Query performance is very bad after migrating from DG7 to DG8, what is the reason?
- Are classes with protobuf annotations added to the index by default?
Environment
- Red Hat Data Grid (RHDG)
- 7, 8
- Queries and indexing with protobuf
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.