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
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 ...
user1979636's user avatar
5 votes
1 answer
2k views

Sitecore Search API not searching List of Guids Unsupported expression node type

I have created an index field called "facetCategory". public class IndexResultModel : SearchResultItem { [IndexField("facetcategory_sm")] public IList<Guid> FacetCategory { ...
Rama Krshna Ila's user avatar
4 votes
2 answers
594 views

Sitecore Search Facet based on Path

I'm quite new to search facets with sitecore. I'm trying to implement a search facet with lucene, where I need to categorize results based on the Parent of the child items. I tried to use the ...
scFootsteps's user avatar
  • 3,851
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 ...
UpcomingSitecoreExpert's user avatar
4 votes
1 answer
303 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 ...
user3267206's user avatar
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 ...
Hardy Nguyen's user avatar
3 votes
1 answer
888 views

Boosting Sitecore Lucene Indexing Results

I'm trying to implement Recommended Results feature with Sitecore lucene search for our website. I'm thinking to implement a Tag field, and depending on the tags selected for a page item, boost the ...
scFootsteps's user avatar
  • 3,851
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 ...
Barada behura's user avatar
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 ...
Danny's user avatar
  • 147
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 ...
Jinu's user avatar
  • 117
3 votes
0 answers
798 views

Searching the keywords with spaces in solr

I have a search functionality in my project and the code for exactly matched keywords and search all word, the exactly is working fine but not the search all words: if (!searchRequest.SearchType....
Rohan Bhateja's user avatar
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 ...
Ken McAndrew's user avatar
  • 5,102
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 ...
iusmar's user avatar
  • 239
2 votes
1 answer
1k views

Using Drop Link field with SXA Facets Component shows GUID instead of Title [duplicate]

I am using Lucene search engine. When using drop link field in SXA facets component, it displays GUID, I see other posts talking about this issue, and in order to fix it, we should change the below ...
NAli's user avatar
  • 875
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, ...
Ratnesh Pandey's user avatar
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 . ...
Vlad Iobagiu's user avatar
  • 18.5k
2 votes
1 answer
658 views

SXA search filter by custom value

I need to pass in a value that's being pulled from the contact db for each user on the site to filter search results. We only want users to see search results that are in the proper context. Is it ...
Jason Davidson's user avatar
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, ...
Mohamed Yaseen's user avatar
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 ...
Fatema elsayed's user avatar
2 votes
0 answers
279 views

Computed fields facets are not working in Content Editor

I am on Sitecore 9 using SOLR. We have added some facet configurations under /sitecore/system/Settings/Buckets/Facets to show them while searching for items in buckets. While the facets for fields ...
Durga Bose's user avatar
1 vote
3 answers
246 views

Sitecore sxa checklist facets in search are not loading when using azure search

I am using SXA 1.8 with Sitecore 9.0.2. I wanted to add a checklist facet to my search, as I am using Azure Search, I added the field to be indexed like below in a custom config file. <include ...
Fahmida's user avatar
  • 161
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<...
Siddhi Kamat's user avatar
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 ...
Siddhi Kamat's user avatar
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
md shahbaj's user avatar
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 ...
Barada behura's user avatar
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 ...
Barada behura's user avatar
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? ...
Michael West's user avatar
  • 18.2k
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 ...
Alex's user avatar
  • 545
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 ...
Imad's user avatar
  • 235
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,...
Mohamed Yaseen's user avatar
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 ...
kiran's user avatar
  • 71
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 ...
user avatar
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 ...
user avatar
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....
PSS's user avatar
  • 607
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 ...
Mohamed Yaseen's user avatar
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?
New Developer 2017's user avatar
1 vote
0 answers
92 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 ...
rkesh's user avatar
  • 11
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 ...
Raju Balagam's user avatar
1 vote
0 answers
330 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 ...
Rohan Bhateja's user avatar
1 vote
1 answer
1k views

KeywordAnalyzer still splits based on whitespace

I'm creating a search where users can filter/facet based on terms that may contain a space (e.g Temporary work) on Sitecore 8.1 with Lucene. My first thought was to store the fields as untokenized; ...
SamMullins's user avatar
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]...
Lala's user avatar
  • 397
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..
krisztian's user avatar
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 ...
Arun Sharma's user avatar
0 votes
1 answer
183 views

SXA Checklist clear event

Does anyone knows how to override the clear button event of a checklist, my scenario is to clear two checklist filters selections by clicking clear button of one of them. Anyone knows how to achieve ...
Tareq Mansour's user avatar
0 votes
1 answer
305 views

Checklist filter SXA not filtering itself

I'm using two checklist filters with two different facets for each one that are using a computed index field to populate their data. Each one is filtering the search results and the other filter data ...
Mohamed Mosa's user avatar
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 ...
Rob Connolly's user avatar
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 ...
Fatema elsayed's user avatar
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
Barada behura's user avatar
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}...
Swati Gupta's user avatar
  • 3,057
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 ...
Shomila's user avatar
  • 45