Currently in the Apache Solr index there is a field called PNAME:
The idea is to deprecate such PNAME field and only implement the ANAME version:
The reason for this is to keep the indexing phase in case of renaming operations as light as possible, avoiding massive cascades.
The consequence of deprecating the PNAME field Is a more complicated query time approach to emulate PNAME queries (using the ANAME field).
The scope of this ticket is to implement in the ElasticsearchConnector a component that generates the described content for the ANAME field, extracting the info from the event primaryHierarchy attribute.
When the event is received, the primaryHierarchy attributes are translated into the structured content of the ANAME field
appropriate testing to assess indexing happens correctly