-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
None
this is the algorithm to migrate HS5 annotations to Infinispan indexing annotations:
searchable => (field index = true)
projectable => (field stored = true)
analyzed => type string && (field analyzed = true)
sortable => !analyzed && ((field stored = true) || sortable annotation)
aggregable => never (not possible to define with HS5 annotations)
normalized => analyzed (specifying a normalizer in place of an analyzer)
That is basically what we do now to interpreter the HS5 annotations on remote queries:
https://github.com/infinispan/infinispan/blob/67394628c890c448ae221d0683b22d27702a3001/remote-query/remote-query-server/src/main/java/org/infinispan/query/remote/impl/indexing/search5/Search5MetadataCreator.java#L128
- clones
-
JDG-6411 [Docs] Add migration steps for @Protodoc and @Field annotations
- Closed