Questions tagged [search-facet]

Facets group and classify content items. Users use facets to filter and limit search results after running searches. This tag is for all those kind of question that are related to search facets in Sitecore.

Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

Single SXA facet pointing to two different fields from different template

I have two different page types in the Sitecore 10.2 SXA search scope. So template1 contains sdate field and template2 contains edate field for date. I need to point the facet to both the fields in ...
  • 45
1 vote
0 answers
84 views

SXA facet search API intermittent empty result

Issue: This is an intermittent issue reproduced in Sitecore 10.2 XM Scaled setup. It takes time to get reproduced. SXA Facet API (//sxa/search/facets) gives an empty collection, sometimes if the ...
2 votes
1 answer
52 views

Newly created Facet is not showing in Content Search view

I created a facet as per the documentation: https://doc.sitecore.com/xp/en/developers/92/sitecore-experience-manager/facets.html In the "Field Name" field I tried the field name as in the ...
  • 229
0 votes
0 answers
72 views

Filter Solr Facet by language

I am trying to create facets in a multi language solution and facing couple of problems. How to filter facets by language selection. If you see the screenshot below, the facets are getting displayed ...
1 vote
0 answers
59 views

Facets are not loading for custom Solr index

We are working on a new site and have created a new index for it. This index is similar to sitecore_sxa_web_index except for the root path. Instead of /sitecore, we have /sitecore/content/<Tenant ...
  • 235
1 vote
1 answer
76 views

Sxa rendering variant sort query by __Updated field not working

I'm trying to get the latest item: sorted by the last modified item from the list of items (__Updated field) I'm using SXA 10.2
0 votes
2 answers
57 views

How can you combine search filters to show items that match either one criteria OR another, rather than items that must match all criteria?

We have a list of events in the Sitecore. Some events occur on specific dates while others occur all year round. We can show either events that fall within a date range using start and end dates and ...
0 votes
0 answers
37 views

Is it possible to filter events by daterange which occur on a single day, i.e. have the same start date and end date?

Using the daterange filter to filter search results in Sitecore, the filter works for events which span more than 1 day but if you try to filter for events that start and end on the same day, we get ...
0 votes
1 answer
84 views

Docker Solr - set facet limit using solrconfig.xml

I am running Sitecore 10.2 in Docker. I have a custom index and need 100 facets from search result. I found a solution in Solr documentation. It suggest to raise a limit by changing solrconfig.xml. ...
1 vote
1 answer
225 views

Maintain Facet count after faceting

I'm using Sitecore 9.3 and Solr 8.1.1. I'm developing a search filter using Sitecore Content Search API, with the behavior of keeping the facet count the same even after selecting options. For example,...
0 votes
1 answer
139 views

Sitecore Content Hub non-taxonomy facets not visible

I've created an entity with relation to other entity (which is not a taxonomy). How can I configure search facets to search by that relation (relative entity's name in that example)? I've tried to ...
0 votes
1 answer
45 views

In Solr can we use two diff. fields (min and max) for single range facet?

Currently, I am trying to implement salary range facets like 10000-20000 (2) 20001-30000 (100) 50000-60000 (150) However in Sitecore, we have two different fields (MinSalary & MaxSalary) to ...
0 votes
2 answers
341 views

GetFacets / GetResults returns an empty facet list

I was tasked to create a facet component for our solution on top of an already existing search functionality - which is an API controller. The code snippet I added is the use of .FacetOn(x => x[key]...
  • 357
0 votes
3 answers
351 views

How to write the query for grouping of articlecategories to fetch the count of article in Solr

I would like to query in Solr, to pass the list of categoryID('cat001','cat002','cat003','cat004'), based on the categoryID, we need to get the count of Article of passed categoryID in the Solr Query, ...
0 votes
1 answer
59 views

How To Create Custom Hierarchical Tree Search Filter

I already tried the solution in the following question but it didn't help it only explains how to create OOB filters. I'm using sitecore 10.1 SXA and I need a way to view hierarchical filter in a ...
1 vote
0 answers
70 views

How to extend site filter in multisite setup

We have a multisite setup (both SXA and non-SXA sites) with Sitecore 9.3. Need is to provide a filter in the Experience Profile to search site-specific contacts (a site filter just like in the ...
  • 71
0 votes
1 answer
111 views

Sitecore sxa custom filter based on content tree multiple node selection as datasource

We have a specific requirement in sxa search, we want to create a facet based on datasource selected from one of the treelist field which hold some node from content tree, for example Article and ...
0 votes
1 answer
59 views

Range slider filter without minimum/maximum values

I have added a custom field in Solr beds and created a new Bedrooms facet. I am using the facets in a Range Slider Filter I have defined the minimum and maximum values. Is there a way we should not ...
user avatar
0 votes
0 answers
36 views

Commerce search results using multiist selection

We are migrating from Sitecore 8 to Sitecore 9. In Sitecore 8, we have a Multilist which has few values like Pending, Sold, Available or Not Available. When any value is selected, for-example if Sold ...
user avatar
0 votes
1 answer
89 views

How to show the filter values in Chinese in Sitecore 9.0.1

I am using Sitecore 9.0.1 with SXA 1.7 .we have a requirement that the filter values should get displayed in chinese language. I have created a template with field color and data type multiroot tree ...
  • 311
1 vote
0 answers
172 views

Facet for Sitecore SXA search filter

The product item has a field "Property Type" which is a single line text I want to create a facet so that I can use in the SXA search Checklist filter. I have added the field in the solr ...
user avatar
1 vote
1 answer
127 views

SXA search Facets for field

I want to make the facet using that PropertyDetailsBeds (No Bedrooms) field inside the "Property Details" so that I can use that facet in the Search filter. What needs to be done in order ...
user avatar
0 votes
1 answer
223 views

Sitecore Sxa Checklist Filter Multiple selection not showing result

I have a multilist field Services in sitecore which I have added in solr index as stringCollection using the below configuration. <field fieldName="servicetitles" returnType="...
0 votes
1 answer
87 views

How to show the checklist filter data when it is clicked on the filter component

Using Sitecore 9.0.1 with SXA 1.7 and I want to display the checklist filter data when it is clicked on the item. Can anyone please explain how can I do that? Below are the things which I have done ...
  • 311
3 votes
1 answer
173 views

How do I create a custom Date Range Facet in Sitecore?

I am using Sitecore 9.3 & SXA. I have a custom event component (template, rendering, variants ...). How do I go about creating a date range filter for the event start date and end date? I want ...
  • 147
2 votes
1 answer
171 views

How to create a custom facet for a Time range for an SXA search filter

I have a search result component showing all the events. The requirement is to add a CheckList filter to filter the events that have their event date before 9AM and after 9AM. How can I create a ...
1 vote
1 answer
589 views

Create custom facet for Sitecore SXA search filter

I have to apply the SXA search Checklist filter component on a search result by the product type (which is a single line text field). Can anyone please provide any information or useful links on how ...
0 votes
0 answers
46 views

SXA Search api doesn't work with Arabic facet value

I'm using Sitecore 9.3 and SXA 9.3, I use SXA OOB Search results components, when filtering with Arabic keyword in the facets, it doesn't bring data, although I checked the generated SOLR query, it ...
0 votes
1 answer
116 views

How to trigger or refresh the search results on the basis of a session variable?

I have a page with the SXA search result component. I want to refresh the search result on the click of a button. Please let me know if it is possible. Thanks
1 vote
1 answer
149 views

Enable multi search without filter button in sxa check list filter

I am using sxa check list filter functionality. For multiple categories the filter button is coming automatically, can anyone pls help to enable the multiple filter without button. It seems that I ...
1 vote
1 answer
164 views

Insert two values in SXA custom search query token (ResolveSearchQueryTokensProcessor)

I am working with a custom SXA search query token. I want to Insert with two different values. foreach (var val in values) { args.Models.Insert(i, this.BuildModel(itemFieldName, val)); } args....
  • 587
0 votes
2 answers
409 views

Sitecore Solr multiple filter tagging / excluding

I am using Solr facets and I want to filter tagging and exclude it. My query is : https://localhost:8989/solr/rya_custom_web_index/select?q=*%3A*&fq={!tag=courseactivities_s:Dinghy}...
  • 2,298
3 votes
1 answer
89 views

How to do facet on Associate Categories of a Product in Sitecore Commerce 9.3

There is a Brand Facet for Products in sitecore commerce 9.3, likewise is it possible to have a facet on Categories associated with a Product. By default categories are not indexed at product level in ...
  • 117
2 votes
1 answer
829 views

Facet query returning 100 items max

Using Sitecore 9.2 with Solr on SearchStax. We have the Query.MaxItems value patched to 0, so finding a limit returned of 100 items is unexpected. We're setting up a number of dropdowns, using this ...
  • 5,082
1 vote
0 answers
47 views

SXA Filter API ignore the custom index

I'm using Sitecore 9.1 and SXA 1.8, I've created custom index for my site and it's working fine, the SXA OOB Search results API is using the custom index which is right But the SXA OOB Search filters ...
1 vote
1 answer
124 views

How do you reverse sort and hide the count from the SXA dropdown fiilter?

Can the following two be answered without requiring code changes? How to hide/remove the inside dropdown count number? How to sort the year lastest on top?
1 vote
1 answer
81 views

How do I filter results using the SxaTags field while in the Content Editor search UI?

Sitecore 8.2.7 + SXA 1.7.0 I've created a new Facet entry like the following: Then I'm testing the search on a folder marked as an item bucket: The facet never appears: What should I try next? ...
  • 17.3k
2 votes
1 answer
247 views

SXA Facet Filtering wrong index

I have a custom index for my tenant and I configured custom indexes on Sitegrouping to be used by our sites. On the Search page I have Checkbox filter, Search Box and Search results components . ...
2 votes
0 answers
61 views

SXA search filters don't intersect itself

I'm using Sitecore 9.1 and SXA 1.8, I have checklist filter with data as seen: Individual has items : News3, News4, News7 Vacation has items : News3, News5, News6 When I choose these two options, ...
2 votes
0 answers
78 views

SxaTags is not working with SearchResults signature

I am using Sitecore 9.3 and SXA, when I used the tag cloud with a searchresults component without having signature it worked fine but when I added a searchresults signature it stopped filtering in the ...
0 votes
1 answer
62 views

Ways to compare search results in Sitecore 9.0.2

I performed search of a particular item type with the Sitecore in-bulit search in the content Editor as i wanted to see some items that are modified by a particular user. I filtered by the template ...
  • 45
1 vote
0 answers
70 views

Not able to Perform multi-language search Sitecore with searchstring

Using Solr as Default search provider. Content Search is working when website language is -en example.com/en/sxa/search/results/?l=en&q=query From localhost:8983(solr) Able to query the data ...
  • 11
1 vote
0 answers
146 views

Adding hashtag to the internal link that leads to blog search page with tag filter search Sitecore SXA 1.9

The blog index page has all articles are listed and the filter based on tag that works with solr search. The search results based on sxatags filter will get added on the blog index page when apply ...
4 votes
1 answer
507 views

GraphQL Search facetOn Parameter

I'm trying to use the Sitecore GraphQL search function that takes in the "facetOn" parameter. Unfortunately I'm not having much luck with the results, and I suspect it's because I'm doing something ...
0 votes
0 answers
281 views

sort the documents in solr based on the occurence of the searched words

I am building a search component in solr , and want to get the results on the basis of how relevant (most occured ) that word is in the particular field , i am filtering the results on a Content field ...
0 votes
0 answers
249 views

SXA Search showing 400 Bad Request error (Infinite Loading)

Working with Sitecore 9 (Update 1), SXA 1.7.1 and Azure Search. Components added on the page: Map, Location Finder, Search Results (all components have same search signature). I am facing this issue ...
  • 587
0 votes
1 answer
304 views

List Facet using the index field is Empty

We are trying to create a ListFacet (dropdown filter) using the Computed Index field. These are the checklist that we have in place The Computed field contains values in the index file. Created a ...
1 vote
2 answers
589 views

Limit search result hits to a specific number with facets to match limited result set

I have a requirement to limit search results to an arbitrary number in a Site Search implementation. Is there a way to accomplish this in a query and get accurate facets relative to the arbitrary ...
  • 545
0 votes
0 answers
204 views

Bucket search - facets filter limited to 10 results

Been digging around how to get more than 10 results for each facet filter and can't find any setting to do so - also tried to dotpeek without any luck. Does anyone came across with this issue or know ...
  • 1
4 votes
1 answer
255 views

How to show the facets with 0 count in sxa checklist filter component

I have multiple filters on my page which includes Location, distance and 2 Checklist filter(with multiple selection). Initially page is loaded with no filters selected and result is read from the ...