I'm creating a search functionality for a portal with products. Each product belongs to a single category. A category consists of a name, a normalized name and an id. How can I create a facet, which returns the three different fields?
I already tried to create three specific facets and combine them. However, this doesn't work out for the category id with the sorting.
Term facet only works on a single field.
On Wednesday, May 18, 2011 at 3:31 PM, Jasper van Wanrooy - Chatventure wrote:
Hi,
I'm creating a search functionality for a portal with products. Each product belongs to a single category. A category consists of a name, a normalized name and an id. How can I create a facet, which returns the three different fields?
I already tried to create three specific facets and combine them. However, this doesn't work out for the category id with the sorting.
Thanks for your reply. I fixed the problem by combining the values with a script on the terms facet. Not ideal, but it works for me.
On donderdag 19 mei 2011 at 13:35, Shay Banon wrote:
Term facet only works on a single field.
On Wednesday, May 18, 2011 at 3:31 PM, Jasper van Wanrooy - Chatventure wrote:
Hi,
I'm creating a search functionality for a portal with products. Each product belongs to a single category. A category consists of a name, a normalized name and an id. How can I create a facet, which returns the three different fields?
I already tried to create three specific facets and combine them. However, this doesn't work out for the category id with the sorting.
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.