Configure the Concatenate Values Document Processor
Context:
Document processors analyze document metas, then output them as contexts, which you can then define as index fields and as facets in the Data Model.
Up until now, when you added a new property to the Data Model, there were processors already in place to perform the required document analysis.
To be able to drill-down from country to city, however, you must create
a facet that emulates a hierarchy. Facets created in the Data Model have
this value in the Index: Top/ClassProperties/<FACET NAME>
To make a hierarchical facet, you need to add another level, to denote the child facet,
separated by a "/" from its parent: Top/ClassProperties/<PARENT FACET
NAME>/<CHILD FACET NAME>
- In the Administration Console, go to Index > Data Processing > ap0 > Document Processors.
- Go to the Processor types list and expand Text operations.
- Drag the Concatenate Values document processor to the end of the Current procesĀsors list.
-
Expand the processor and complete its fields:
- Output to: sales_country_city
- Join: /
- Input from: sales_store_country
- Input from: sales_store_city
- Click Save.
We now need to add a new property to the sales class that will use the sales_country_city output meta.