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
43 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
24 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
74 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
39 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
25 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
27 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?
  • 17.9k
2 votes
1 answer
52 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") ...
1 vote
1 answer
53 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
45 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
43 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
69 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
68 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
54 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
229 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 ...
0 votes
1 answer
68 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
30 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 ...
  • 195
0 votes
0 answers
22 views

Sitecore Azure search provider terms per facet configuration limit

Environment: SXA 10x, Azure PaaS. I am using Sitecore Azure Search provider which has a limit to return only 10 terms per facet by default on a query and SXA overrides it to 50 currently with 10x. ...
0 votes
0 answers
31 views

sort search results by date not working after creating specific index to our site

we working with Sitecore 10 and sxa search components, in news listing page we get news ordered by date field, and it was working fine, but after creating a custom index to our site, the search ...
1 vote
1 answer
107 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
191 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
41 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
67 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....
  • 767
0 votes
1 answer
45 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
124 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
38 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
53 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
96 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-...
  • 543
0 votes
2 answers
115 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
122 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
48 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
158 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
142 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 ...
0 votes
1 answer
116 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
670 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 ...
  • 16.9k
0 votes
1 answer
93 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
87 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 ...
  • 191
0 votes
1 answer
102 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 ...
  • 191
1 vote
1 answer
78 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 ...
  • 61
1 vote
1 answer
82 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,535
0 votes
4 answers
593 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 ...
  • 53
0 votes
1 answer
40 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 ...
's 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 ...
's user avatar
0 votes
1 answer
80 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 ...
  • 191
0 votes
1 answer
172 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 ...
  • 191
0 votes
1 answer
143 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
140 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 ...
's user avatar
0 votes
1 answer
180 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
108 views

Rich Text content not showing in OOTB search results in SXA [closed]

When someone searches for content from a rich text field, the resulting page does come up in the search. However, the text from the rich text field does not show up in the results. For example, let's ...
1 vote
0 answers
70 views

Code to include link list content in search not working

I contacted Sitecore Support for the issue and this was the solution given. Our website has a lot of link lists throughout the site. We noticed that link lists are not being searched (the link text),...
0 votes
1 answer
316 views

Could not find the computed index field type: BXA.XA.Foundation.Custom.Search.AggregatedContent, BXA.XA.Foundation.Custom.Search [closed]

I am trying to add links and extending the implementation of the GetLayoutReferences method from Sitecore.XA.Foundation.Search.ComputedFields.AggregatedContent class. However I am getting the ...