Skip to main content

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
1 vote
1 answer
164 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 ...
4 votes
1 answer
683 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
1 answer
114 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 ...
3 votes
2 answers
225 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
193 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....
1 vote
1 answer
150 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?
0 votes
1 answer
96 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
0 answers
40 views

All the facets terms not loading in multi list filter from solr on initial load

We are using Sitecore 10.2 with SXA on Azure Kubernetes, and Solr as a search service. On a multi-list facet filter (facet-multi-selection-list), trying to fetch facet terms, where facets are added ...
0 votes
3 answers
624 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]...
0 votes
0 answers
26 views

Sitecore SXA All Facet values not reflecting

I am using Sitecore 10.1 SXA with Solr on Azure Kubernetes. On a Multicheck list filter, the facet values coming from sitecore_sxa_web_index exceed 100 values, hence facet.limit increased to 1000. ...
0 votes
2 answers
123 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 ...
4 votes
0 answers
382 views

How to search all the articles that have the same (or at least one) tag with the current page?

I found TaggedTheSameAsCurrentPage|SxaTags and TaggedWithAtLeastOneTagFromCurrentPage|SxaTags that is similar to what I need. However it doesn't return any results. I couldn't find much ...
0 votes
1 answer
43 views

Hide items from admins

Is there any way to hide items in the content tree from admins? Only specific users would be visible. I already tried with the security editor etc..
0 votes
0 answers
35 views

Sxa sort by relevance does a random sorting of search results in absence of search term

I am using Sxa Sort by relevance in search results and the facet is based on the title. This is used in such a way that it defaults to relevance on the site. Additionally used a boosting feature on ...
1 vote
2 answers
61 views

Sitecore facet query on key displaying extra non-selected values

I'm trying to use the Sitecore Solr query to retrieve specific facet values for a Sitecore item. The facet is a checklist filter and the field is a tree list type. var test = context.GetQueryable<...
1 vote
1 answer
35 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 ...
2 votes
1 answer
132 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 ...
0 votes
0 answers
128 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
2 answers
706 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 ...
1 vote
0 answers
96 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 ...
1 vote
1 answer
135 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
1 answer
149 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. ...
0 votes
0 answers
84 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
153 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
479 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
221 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 ...
2 votes
3 answers
477 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
84 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 ...
0 votes
2 answers
656 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}...
0 votes
1 answer
271 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="...
1 vote
0 answers
80 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 ...
9 votes
0 answers
216 views

Virtual field not working with Azure

Currently, I'm using facet to filter the search result. The result works perfectly fine with SOLR but when I switch to Azure it doesn't work anymore. The result shows all although I added filter ...
0 votes
1 answer
151 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
113 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 ...
0 votes
1 answer
87 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 ...
0 votes
0 answers
37 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 ...
1 vote
0 answers
221 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 ...
1 vote
1 answer
195 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 ...
3 votes
1 answer
95 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 ...
3 votes
1 answer
230 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 ...
1 vote
1 answer
740 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
60 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 ...
2 votes
1 answer
1k 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 ...
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
87 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? ...
2 votes
1 answer
263 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
63 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
90 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
66 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 ...
1 vote
0 answers
176 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 ...