we are using solr 7.5, we have implemented dynamic fields for products attribute, now we are facing the problem in doing the facets on dynamic filed.
following are the product documents for the dynamic field
<dynamicField name="*_attribute" type="text_general" multiValued="true" indexed="true" stored="true"/>
{
"product_slno":"1",
"product_name":["baby doll"],
"text":["baby doll"],
"color_attribute":["red1"],
"type_attribute":["xyz1"],
"material_attribute":["plastic1"],
"_version_":1660058653347020800},
{
"product_slno":"2",
"product_name":["babydoll"],
"text":["babydoll"],
"color_attribute":["red"],
"style_attribute":["xyz"],
"material_attribute":["plastic"],
"_version_":1660058653383720960
},
for example if we want to get the color_attribute value for entire document the we are not able to geet it.
and we do not have the fixed attribute for any products so we are trying to use dynamic fields
please help