{"id":156,"date":"2021-01-19T11:25:07","date_gmt":"2021-01-19T11:25:07","guid":{"rendered":"https:\/\/multisite.korebots.com\/SearchAssist\/?p=156"},"modified":"2021-06-28T07:36:13","modified_gmt":"2021-06-28T07:36:13","slug":"facets","status":"publish","type":"post","link":"https:\/\/multisite.korebots.com\/SearchAssist\/optimize-results\/facets\/","title":{"rendered":"Facets"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><span style=\"font-weight: 400;\">Facets allow users to refine their search results by selecting appropriate filters based on the field values. These filters are used to fine-tune the search results and category listings without scrolling through innumerable pages. For example, in an eCommerce search, options to select the price range for the product or to filter the results based on the color of the product are provided.\u00a0<\/span><\/p>\n<p>SearchAssist application allows you to configure and manage facets. You can mark any indexed fields as a facet. Enabling the facet allows the search user to view the filters associated with the search results and also the count of matched results in the filter.<\/p>\n<\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><a ref=\"magnificPopup\" href=\"http:\/\/docs.kore.ai\/searchassist\/wp-content\/uploads\/sites\/4\/2021\/01\/searchconfig_facets.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1305\" src=\"http:\/\/docs.kore.ai\/searchassist\/wp-content\/uploads\/sites\/4\/2021\/01\/searchconfig_facets.png\" alt=\"\" width=\"1366\" height=\"768\" \/><\/a><\/p>\n<\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><span style=\"font-weight: 400;\">The SearchAssist application allows you to define two types of facets:\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><b>Range Facet<\/b><span style=\"font-weight: 400;\"> is used for filter attributes that have a defined range of values such as price, age, etc. It returns the result within the selected range. In product search scenarios, the Range facet is used to choose the price value of a product. For example, on an e-commerce website, you can use Range Facets to show all smartphones in the range of $1000 to $20000.<\/span><\/li>\n<li style=\"font-weight: 400;\"><b>Value Facet<\/b> is used for filter attributes that are treated as labels such as colors, gender, etc.<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">You can configure both single-select and multi-select facets. The multi-select facet allows you to customize whether a user can select only a single item or multiple items in a filter. You can also customize the order in which the filters are displayed to the user by simply drag and drop operation.<\/span><\/p>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"Add_Facets\"><\/span>Add Facets<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">To add facets, follow the below steps:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Click the <\/span><b>Indices <\/b><span style=\"font-weight: 400;\">tab on the top.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">On the left pane, under the <\/span><b>Search Configuration<\/b><span style=\"font-weight: 400;\"> section, click <\/span><b>Facets<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">On the Facets page, click <\/span><b>Add Facets<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">On the Add Facet dialog box, in the <\/span><b>Field Name<\/b><span style=\"font-weight: 400;\"> field, search for a field and select it.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Enter a name in the <\/span><b>Facet Name<\/b><span style=\"font-weight: 400;\"> field.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Select the type from the <\/span><b>Facet Type<\/b><span style=\"font-weight: 400;\"> drop-down list as either\u00a0<em>Range<\/em> or\u00a0<em>Value.<\/em><\/span><\/li>\n<li>For the Value type facet, you can further customize the user experience by configuring the following details:\n<ol>\n<li style=\"font-weight: 400;\"><b>Facet Size <\/b><span style=\"font-weight: 400;\">is the number of Facet values provided to the user for selection.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Facet values to be provided <\/span><b>Sort by<\/b>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Ascending or Descending value of <strong>Count<\/strong><\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Ascending or Descending value of <strong>Label<\/strong><\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<li>For the Range type facet, you can further customize the user experience by configuring the following details:\n<ol>\n<li>Optional\u00a0<strong>Range Name<\/strong>, if not provided, then the range is displayed as the name for the user.<\/li>\n<li style=\"font-weight: 400;\"><strong>From<\/strong> and <strong>To<\/strong> values to be provided to the user for selection.<\/li>\n<li>You can add multiple ranges.<\/li>\n<\/ol>\n<\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">You can turn on the <\/span><b>Multi-Select<\/b><span style=\"font-weight: 400;\"> toggle to allow the user to select multiple facets values.<\/span><\/li>\n<li style=\"font-weight: 400;\">Click <b>Add<\/b>.<\/li>\n<\/ol>\n<\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><a ref=\"magnificPopup\" href=\"http:\/\/docs.kore.ai\/searchassist\/wp-content\/uploads\/sites\/4\/2021\/01\/searchconfig_facets_add.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1307\" src=\"http:\/\/docs.kore.ai\/searchassist\/wp-content\/uploads\/sites\/4\/2021\/01\/searchconfig_facets_add.png\" alt=\"\" width=\"799\" height=\"617\" \/><\/a><\/p>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"Action\"><\/span>Action<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">You can achieve the following from the Facets list view page:<\/span><\/p>\n<ol>\n<li><strong>Search<\/strong> for a given Facet by name.<\/li>\n<li style=\"font-weight: 400;\"><strong>Filter<\/strong> the Facets on Type, Selection criteria, and Status.<\/li>\n<li><strong>Edit<\/strong> or <strong>Delete <\/strong>a Facet using the edit\/delete icons. You can also delete facets in bulk with the Bulk Select option.<\/li>\n<li><span style=\"font-weight: 400;\">Using the handlebar against each facet, you can specify the order in which facets are presented to the user.<\/span><\/li>\n<\/ol>\n<\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><a ref=\"magnificPopup\" href=\"http:\/\/docs.kore.ai\/searchassist\/wp-content\/uploads\/sites\/4\/2021\/01\/searchconfig_facets_action.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1308\" src=\"http:\/\/docs.kore.ai\/searchassist\/wp-content\/uploads\/sites\/4\/2021\/01\/searchconfig_facets_action.png\" alt=\"\" width=\"1117\" height=\"265\" \/><\/a><\/p>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>[vc_raw_html]JTNDZGl2JTIwY2xhc3MlM0QlMjJ3LXBvc3QtZWxtJTIwcG9zdF9uYXZpZ2F0aW9uJTIwbGF5b3V0X3NpbXBsZSUyMGludl9mYWxzZSUyMiUzRSUwQSUwOSUzQ2ElMjBjbGFzcyUzRCUyMnBvc3RfbmF2aWdhdGlvbi1pdGVtJTIwb3JkZXJfZmlyc3QlMjB0b19wcmV2JTIyJTIwaHJlZiUzRCUyMiUyRlNlYXJjaEFzc2lzdCUyRm9wdGltaXplLXJlc3VsdHMlMkZyZXN1bHQtb3B0aW1pemF0aW9uJTJGJTIyJTNFJTNDJTJGcCUzRSUwQSUzQ2RpdiUyMGNsYXNzJTNEJTIycG9zdF9uYXZpZ2F0aW9uLWl0ZW0tYXJyb3clMjIlM0UlM0MlMkZkaXYlM0UlMEElM0NkaXYlMjBjbGFzcyUzRCUyMnBvc3RfbmF2aWdhdGlvbi1pdGVtLW1ldGElMjIlM0VQcmV2aW91cyUzQyUyRmRpdiUzRSUwQSUzQ2RpdiUyMGNsYXNzJTNEJTIycG9zdF9uYXZpZ2F0aW9uLWl0ZW0tdGl0bGUlMjIlM0UlM0NzcGFuJTNFUmVzdWx0cyUyME9wdG1pemF0aW9uJTNDJTJGc3BhbiUzRSUzQyUyRmRpdiUzRSUwQSUzQ3AlM0UlM0MlMkZhJTNFJTNDYnIlMjAlMkYlM0UlMEElM0NhJTIwY2xhc3MlM0QlMjJwb3N0X25hdmlnYXRpb24taXRlbSUyMG9yZGVyX3NlY29uZCUyMHRvX25leHQlMjIlMjBocmVmJTNEJTIyJTJGU2VhcmNoQXNzaXN0JTJGc2VhcmNoLWV4cGVyaWVuY2UlMkZkZXNpZ24tc2VhcmNoLWV4cGVyaWVuY2UlMkYlMjIlM0UlM0MlMkZwJTNFJTBBJTNDZGl2JTIwY2xhc3MlM0QlMjJwb3N0X25hdmlnYXRpb24taXRlbS1hcnJvdyUyMiUzRSUzQyUyRmRpdiUzRSUwQSUzQ2RpdiUyMGNsYXNzJTNEJTIycG9zdF9uYXZpZ2F0aW9uLWl0ZW0tbWV0YSUyMiUzRU5leHQlM0MlMkZkaXYlM0UlMEElM0NkaXYlMjBjbGFzcyUzRCUyMnBvc3RfbmF2aWdhdGlvbi1pdGVtLXRpdGxlJTIyJTNFJTNDc3BhbiUzRURlc2lnbiUyMFNlYXJjaCUyMEV4cGVyaWVuY2UlM0MlMkZzcGFuJTNFJTNDJTJGZGl2JTNFJTBBJTNDcCUzRSUzQyUyRmElM0UlM0MlMkZkaXYlM0U=[\/vc_raw_html]<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Facets allow users to refine their search results by selecting appropriate filters based on the field values. These filters are used to fine-tune the search results and category listings without scrolling through innumerable pages. For example, in an eCommerce search, options to select the price range for the product or to filter the results based...","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/posts\/156"}],"collection":[{"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/comments?post=156"}],"version-history":[{"count":14,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/posts\/156\/revisions"}],"predecessor-version":[{"id":1216,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/posts\/156\/revisions\/1216"}],"wp:attachment":[{"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/media?parent=156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/categories?post=156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multisite.korebots.com\/SearchAssist\/wp-json\/wp\/v2\/tags?post=156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}