Questions tagged [sxa-search]

Any question that is related to search in the context of Sitecore SXA (Sitecore Experience Accelerator) should use this tag

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

Solr Indexing issue in Sitecore 10.2

I am using Sitecore 10.2 with SXA and I am using sitecore_sxa_web_index index. I have multiple articles which I am indexing. I am facing below issue: Suppose I have 10 articles and when I manually do ...
2 votes
2 answers
37 views

Is it possible to generate Sitecore Search Scope across the entire tenant?

I have a requirement to display pages based on two different templates on two separate sites. For example: Let's say I have one site called Site A and another site called Site B. In Site A, I have a ...
1 vote
0 answers
83 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 ...
0 votes
0 answers
17 views

I want to manage items by updated date through scope, is it possible? [duplicate]

I have 4 items of event and need to sort by updated date. If is there any way please suggest.
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
70 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
74 views

Accordion item type template items not indexing in Sitecore search as well as Solr search

I am working on SXA search in Sitecore I found something strange, content or data of composite rendering child items like accordion item templates types items are not indexing. I added _searchable ...
1 vote
0 answers
51 views

How to use and search multiple checklist facets with one button

I have a search page using 2 checklist facets, Size and Color. How can I make it so that I can use one button to apply the search for options checked in both facets? E.g. I check 'large' in the Size ...
  • 11
1 vote
2 answers
112 views

Is this possible to restrict the SXA search box to search only through a particular field?

I have added an SXA search box component on the page and now when I type a search term it returns the result based on the search term found through the aggregated content. But, I want that search box ...
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
35 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
0 answers
31 views

SXA Search Results First Element

I have a SXA Search Result component and I want to apply a specific class to first element from the search results on every page. Is it a simple way to do it?
2 votes
1 answer
59 views

SOLR Expiration Date Query in SXA Search Scope Query Getting Formatted before sending to SOLR

I am trying add a query to my SXA Search Scope Query, but it is giving 0 Results. When I check in the Search Logs, I can see the below Log. ?q=((((_path:("64a826d58a374bd9be60bff956a89a47") ...
2 votes
1 answer
65 views

Unable to map sxatags_sm field to model

I have indexed my content in the SOLR 8.8.2 and the tags available on those items are being pushed in the SOLR as below: { "description_t_en":"Lorem Ipsum is simply dum", &...
0 votes
0 answers
56 views

Read SXA Search Scope in Code

everyone , I've to read the SXA search scope in my code. I am using the search result component on my page and added some custom filters in the search scope. So I need the applied search filter on my ...
0 votes
0 answers
58 views

How to bind a modal to CTA Link of data source item in Sitecore SXA

The client does not want to create and assign 20 modals on presentation details for different data source items on the listing page. How we can bind one modal to the data source location so that it ...
0 votes
3 answers
90 views

$name is getting indexed

We are on Sitecore 10.1 and Solr 8.4. We are using Filter (Checklist) component and found out $name is showing on the page. Upon checking the Solr, the $name is getting indexed as well. This is the ...
0 votes
2 answers
121 views

Sxa custom search token query Wrong date format

I have added a new sxa token processor to filter the passed date events, This is my Code protected virtual SearchStringModel BuildModel(string fieldName) { Log.Info($"SXA_Token ...
0 votes
2 answers
95 views

SXA seach Scope is not returning result in Search result component

I just added conditions in the search scope. I could see the result in the backend, but the same is not returning the search result component. If I remove the date condition, it is returning the ...
2 votes
3 answers
411 views

SXA Search Result Sort Order

Is there any way to do the sorting by Sitecore content tree order? I am working on Sitecore SXA components to build the page. I am using search scope for list down the result. I have created the new ...
1 vote
1 answer
131 views

How to make SXA search on Data folder

I have to do the search with my data folder items. I have defined the search scope with location, still, it's not coming in the result. I have inherited my template with /Sitecore/Templates/Foundation/...
1 vote
1 answer
35 views

What is PageOrMediaPredicate and other Predicate in Sitecore SXA search library

We have customized SXA search in our project. There are few predicates from SearchService of Sitecore.XA.Foundation.Search dll used. To enhance the performance I was trying to cache query to avoid ...
  • 235
1 vote
1 answer
145 views

SXA checklist filter has an issue with facet values that contain spaces

I am trying to create an SXA checklist filter with multiple selections that reads from a list facet. This facet reads from values that may contain spaces (ex: Action Recommended), however the search ...
  • 41
0 votes
1 answer
316 views

Search Result Listing Get index of an item using Scriban

I have a Search Result Listing Variant created using Scriban. This will render a card from each of the items got from the scope query. However, I want to get the index of items at the scriban template....
  • 135
0 votes
1 answer
57 views

Share Index across multiple site

We are using SXA to build 4 sites under same talent for example site A , B , C and D. We have requirement to show the news articles created under any of these sites to be shown to rest of the sites , ...
0 votes
1 answer
88 views

Sitecore SXA Search Results Filter number of fields returned in SOLR response

I am using Sitecore 10.1 with SXA, I have a page that contains search results component and I have noticed that the query that is generated and run on SOLR is retrieving all the fields in the response....
  • 839
0 votes
1 answer
76 views

Sort by children of page in content tree order

SXA has Query Builder SXA Tokens that can be applied on Search Results. One of them is "Sort by children of page in content tree order". We want to build a similar functionality using Sxa ...
0 votes
1 answer
196 views

Load Site based item only in 'Multilist With Search'

I am working on Sitecore 9.1 with SXA multisite application. I have a folder in every site e.g Site-1/data/Tags/ I created page items with a field Multilist With Search type Now I want to load data ...
1 vote
1 answer
39 views

Not navigating to configured search result page

I am very new to Sitecore. In our project, we need to implement the SXA out-of-the-box Site Search. I tried creating a scope and adding an SXA Search Box to a page and gave the Scope for search. Also ...
0 votes
1 answer
69 views

sxa custom boosting condition for dynamic value from cookie

We have a requirement where we want to boost results based on a value from a cookie/session. The items that contains the value from cookie in a Certain field should be boosted. Hence the rule should ...
0 votes
1 answer
125 views

How to get the first "N" items while using Query Builder?

Environment: Sitecore 9.3 & SXA 1.9 Scenario: I would like to get the first 10 items while using the search query builder. This is the query I am using +template:{25a72111-ea49-56e0-97ca-...
  • 587
0 votes
2 answers
146 views

SXA Pagelist vs SearchResults component

I'm using Sitecore 9.2 and SXA 1.9, I wonder how SXA Pagelist component works in terms of querying items, does it fetch items from Solr as SXA SearchResults one. I tried decompiling its dll, but ...
0 votes
0 answers
157 views

Unexplained SOLR query

I'm using Sitecore instance 9.1, Solr 7.2.1, and SXA 1.8. I was checking "Search" logs and found below ERROR entry. 5012 12:49:26 INFO Solr Query - ?q=((query:(self) AND _path:(...
  • 43
0 votes
1 answer
58 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
1 answer
204 views

SXA Search is unable to return result with '-' or some special characters in Search results

I have a sxa search component, In the sxacontent_txm field in Solr have indexing value( ex: Test search - result). In the searchbox I tried input "Test search - result" it response 0 results....
0 votes
1 answer
197 views

SXA Facet filter dropdown with special character value not working properly and value double encoded

We are using Sitecore 9.3 SXA with solr. We have facet filter dropdown on the page for Title field which can contain special characters Ex:("Test™ (value)"). I can see the The value is ...
1 vote
1 answer
182 views

Including the solr field in search result along with item fields in the Search result rendering variant

I am using sxa search result for rendering the service items which contain coordinates(lat-lang). We have got a new requirement where the same services may be available in different locations. Hence ...
2 votes
1 answer
1k views

How do you create a scriban function which implements the Content Search API?

I've seen examples such as here on how to create a custom Scriban function. How would I go about implementing one which supports the Content Search API like that shown here? Example: Function called ...
  • 17.3k
0 votes
1 answer
110 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
103 views

How to make Search box Suggestions to suggest on Specific field in Sitecore 9.0.1

I am using Sitecore 9.0.1 with SXA 1.7 and Solr 6.6.2. I have added one search box and search result component on my page and selected the ShowSearchResults as Prediction and it is showing the ...
  • 311
0 votes
1 answer
118 views

SXA Search box is not showing Predictions for Chinese language in Sitecore 9.0.1

I am using Sitecore 9.0.1 with SXA 1.7 and Solr 6.6.2. I have added a search box component and search result component on the same page for a chinese language and also selected the ShowPrdeictions ...
  • 311
1 vote
1 answer
117 views

SXA Dropdown Filter populates with words separated by space

Have a requirement to provide a filter on news articles for Author. Created a dropdown filter based on a facet (which is based on a BlogAuthor template field which is of type single line text). Now ...
  • 71
1 vote
1 answer
88 views

How to get Storefrontcontext in XC 10.1

Using SC10.1 & XC 10.1 I'm trying to get catalog items with a search criteria. The code in this Sitecore document to get the Storefrontcontext is not working. var searchManager = ...
  • 2,713
0 votes
4 answers
721 views

How you render Page List data with multiple rendering variants?

I have a Query which returns a list of all "blog posts" sorted by date. I have a "Page List" variant-definition to display each blog post in the list, but how do I make the first ...
  • 65
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
0 votes
1 answer
229 views

Solr Search Issue for Chinese Language in Sitecore 9.0.1

I am using Sitecore 9.0.1 with SXA 1.7 and Solr version 6.6.2. we have a requirement to search the chineses content so i have created some chinese content and in the page i have added the components ...
  • 311
0 votes
1 answer
171 views

How To Get Template Id In JSONResult

I'm using Sitecore 10 and SXA. And I'm trying to add template-id to be returned in JSON Result Layout. I tried creating a new JSON Field under the rendering variant with field name value ('template' ...
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