JDG show a deprecated warning for @IndexedField annotation what is the reason and how to avoid it?
Issue
- The JDG 7.1 developer guide examples show
@IndexedField
annotation to mark attributes for indexing, but JDG 7.1 log a warning that this annotation has been deprecated - JDG show a deprecation warn message for
@IndexedField
annotation, what is the sucessor with the same functionality - when using the annotations
@IndexedField
as described in your documentation RHDG runtime is throwing the following warnings of the deprecated annotations like followed
~~~
WARN [org.infinispan.query.remote.impl.indexing.IndexingMetadataCreator] Detected usage of deprecated annotation 'IndexedField' on field Test.id. Please consider replacing it with Field.
Environment
- Red Hat JBoss Data Grid (JDG)
- 7.1, 7.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.