In Infinispan 11 (Hibernate Search 5.10/5.11), it used to be possible to assign an analyzer or normalizer to a field with the following syntax:
It seems that we made a mistake during the upgrade to Search 6, and support for this syntax was removed. All that's left is the property-scoped syntax, where the analyzer is defined next to the field:
If we want to provide at least partial backward compatibility in annotations, we should restore support for the former syntax (and keep the latter).
For the record, analyzer assigned using the former syntax take precedence over analyzers assigned using the latter.