I can facet this document on status_id, then give my users a link to filter
by it, appending a status_id=1 to the URL, for example.
But I always have to make a choice. Facet by the computer-friendly id or
the human friendly name? I of course want to show the user the
status_name, but it's not really appropriate for use in the URL.
It seems I cannot simply say "facet on status" and get back the nested
object as a value.
What strategies do you guys use to solve this dilemma? Have I been
overlooking some painfully obvious mechanism to cleanly facet, provide
users with a friendly facet key and then specify a filter?*
I'm trying to avoid getting back a list of "ids" and retrieving them from
the database.
I can facet this document on status_id, then give my users a link to filter by it, appending a status_id=1 to the URL, for example.
But I always have to make a choice. Facet by the computer-friendly id or the human friendly name? I of course want to show the user the status_name, but it's not really appropriate for use in the URL.
It seems I cannot simply say "facet on status" and get back the nested object as a value.
What strategies do you guys use to solve this dilemma? Have I been overlooking some painfully obvious mechanism to cleanly facet, provide users with a friendly facet key and then specify a filter?*
I'm trying to avoid getting back a list of "ids" and retrieving them from the database.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.