Facet - Authors field with more names with separated values

Hi,
i have indexed my documents with this fields:

  • title (text)
  • description (text)
  • authors (text)

authors contains one or more names separated with comma.
Is there a method to create facet with the single name and not with the complete string?
or how can this be done?

Thank you for support

@Andrea_Epifani When you index your authors field in App Search, index it as an array:

{
"title": "Relevant Search: With Applications for Solr and Elasticsearch",
"description": "Relevant Search demystifies relevance work...",
"authors": ["John Berryman", "Doug Turnbull"]
}

That will let you facet on individual authors.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.