Closed wasinger closed 4 years ago
The fields property inside the Property annotation did not work. Though the Property class already had the fields member this was unused and one had to write the fields mapping inside the settings array. Now the following annotation works correctly:
fields
Property
settings
/** * @ES\Property( * type="text", * fields={ * "raw"={"type"="keyword"}, * "increment"={"type"="text", "analyzer"="incrementalAnalyzer"} * } * ) */
The
fields
property inside theProperty
annotation did not work. Though theProperty
class already had thefields
member this was unused and one had to write thefields
mapping inside thesettings
array. Now the following annotation works correctly: