8 votes
Accepted

Boosting Sitecore Lucene Indexing Results

If you want to boost field during the indexing time, you can use the "boost" property of field in the index configuration. For example: Below is another solution how you can boost an item based on ...
user avatar
6 votes
Accepted

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

You need to create your Guid variable first before trying to filter FacetCategory on it, Something like: Guid facetGuid = new Guid(facet); containsQuery = containsQuery.Or(item => item....
user avatar
  • 2,074
4 votes
Accepted

Sitecore Search Facet based on Path

It sounds like you are on the right track. What you need is computed index field. You add another field to your index that indexes the parent item name as part of the document that you are indexing. ...
user avatar
  • 533
4 votes
Accepted

Facet query returning 100 items max

https://community.sitecore.net/developers/f/8/t/2367 Solr has a limit on the number of facets - which has nothing to do with the Query.MaxItems btw (that is for Sitecore queries). You should be able ...
user avatar
  • 19.2k
2 votes

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

You need to check this part of the documentation: https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/extend_search#_Extend_search_to_3 This explains how ...
user avatar
  • 19.2k
2 votes

Sitecore Search Facet based on Path

To turn the IDs in your facets into real item names, just enable this setting. This will cause Sitecore to translate facets that are IDs into real item names. <!-- RESOLVE FACET VALUE TO FRIENDLY ...
user avatar
  • 12.9k
2 votes

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

Based on your question, I think you may have added the config for the facet field to the wrong index. You have given the example: <include hint="list:AddIncludedField"> <...
user avatar
  • 18.9k
2 votes

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

You have written that "field is getting added to sitecore_master_index" but SXA is using its own indexes - sitecore_sxa_master_index and sitecore_sxa_web_index. Check if the field is present those ...
user avatar
2 votes

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

Facets work on fields. So you should have a field in your items that determines if the item is a product or an article (or ...). This could be the template, but that is rarely named as you want it. I ...
user avatar
  • 19.2k
2 votes
Accepted

SXA Checklist clear event

If you want to override how the default script works all you need to do is to override removeFacet() function in component-search-results-filter script of Search base theme. Few things you need to ...
user avatar
2 votes

Checklist filter SXA not filtering itself

There is an option to do that. Checklist Filter has "Collapse on selection" checkbox in renderings parameters dialogue which when selected will make a filter to collapse when the value is selected. ...
user avatar
1 vote

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

If you only need to get a number of articles for each category, then the facets feature is the best way to achieve this. Facets will count matching documents for each category and return only keys and ...
user avatar
1 vote

How To Create Custom Hierarchical Tree Search Filter

You can use Content Search API and apply FacetOn() method on IQueryable like this: context.GetQueryable<SearchResultItem>().Where(predicate).FacetOn(x => x[“Propery1Name”], 1).FacetOn(x => ...
user avatar
1 vote

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

Take a look at the answer here to get started: https://sitecore.stackexchange.com/a/11937/237 It's not possible ootb, and the easiest way to achieve this is creating a computed field in the index ...
user avatar
  • 19.2k
1 vote

Create custom facet for Sitecore SXA search filter

This might be helpful: https://ggullentops.blogspot.com/2018/07/sitecore-sxa-search-overview-pages.html Adding the filter to the page is not that hard - it's a standard component. Getting the facet ...
user avatar
  • 19.2k
1 vote

Enable multi search without filter button in sxa check list filter

You will have to modify component-search-results-filter.js file. There is if (properties.multi) inside updateFacet function. If you will look inside there is another if if (currentFacet[0].type == &...
user avatar
1 vote
Accepted

Sitecore Solr multiple filter tagging / excluding

You can do it with SolrNet by passing QueryOptions as a parameter: using (var context = index.CreateSearchContext()) { var field = "courseactivities_s"; var value = "Dinghy"...
user avatar
  • 3,011
1 vote

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

You have to create a custom index field and add custom logic to retrieve categories. The code which you can use for it: var allCategories = await this.Commander.Pipeline<IGetCategoriesPipeline>()...
user avatar
1 vote
Accepted

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

There are global and local facet types, if you want the SXATags to be global, there is checkbox Global on the facet item to check, if for specific items (local), you will need to update the facets ...
user avatar
1 vote

SXA Facet Filtering wrong index

We recently faced same issue on Sitecore 9.0.2 & SXA 1.7.1. when contacted the Support team, they did mention it is a bug and provided patch for it. Reference number: 255689 Patch link for SXA ...
user avatar
1 vote

Ways to compare search results in Sitecore 9.0.2

You will see the differences with the same search criteria for master DB and Web DB, because of the multiple version and workflow states in the master database. If you want to filter out the result ...
user avatar
1 vote

GraphQL Search facetOn Parameter

Your query looks good, I test it on Sitecore 9.1, SOLR with a Text field, that work with this adjustment. It is now facetOn "_category" looks like because the field(name: "Category") your field is ...
user avatar
  • 1,065
1 vote

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

The Minimum Number of Items setting that you've used is the correct one. I'm currently in the process of setting up the same filter (but only with single select) in the exact same version of Sitecore ...
user avatar
1 vote

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

To quickly fix this issue, you need to go to $Path_To_Your_Sitecore_Instance$/App_Config\Modules\SXA\Z.Foundation.Overrides and open Sitecore.XA.Foundation.Search.Azure.config in text editor. Add: &...
user avatar
1 vote
Accepted

How to show price range filter as minimum and maximum dropdown filter using sitecore sxa search?

It is not possible out of the box. You can play with ranges by using Filter (Manage Range) rendering but you won't have a dropdown there, only the following configuration is possible: You can also ...
user avatar
1 vote
Accepted

SXA search filter by custom value

There is nothing like this out of the box. I would suggest writing Search Token, SXA has a couple of pre-defined ones. Just click Build query in the scope item, type SXA and you will see something ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible