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
0 answers
39 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 ...
user avatar
0 votes
0 answers
32 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 ...
user avatar
0 votes
3 answers
61 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 ...
user avatar
0 votes
2 answers
46 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 ...
user avatar
0 votes
2 answers
38 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 ...
user avatar
2 votes
3 answers
98 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 ...
user avatar
0 votes
1 answer
36 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/...
user avatar
1 vote
1 answer
27 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 ...
user avatar
  • 153
0 votes
0 answers
17 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. ...
user avatar
0 votes
0 answers
25 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 ...
user avatar
0 votes
1 answer
56 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 ...
user avatar
  • 31
0 votes
1 answer
80 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....
user avatar
  • 135
0 votes
1 answer
34 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 , ...
user avatar
0 votes
1 answer
58 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....
user avatar
  • 767
0 votes
1 answer
31 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 ...
user avatar
0 votes
1 answer
91 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 ...
user avatar
1 vote
1 answer
35 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 ...
user avatar
0 votes
1 answer
42 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 ...
user avatar
0 votes
1 answer
81 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-...
user avatar
  • 543
0 votes
2 answers
89 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 ...
user avatar
0 votes
0 answers
96 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:(...
user avatar
  • 33
0 votes
1 answer
44 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 ...
user avatar
1 vote
1 answer
122 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....
user avatar
0 votes
0 answers
39 views

Overriding the Aggregated.cs file in Sitecore.XA.Foundation.Search.ComputedFields.AggregatedContent

I have arranged all my content based on country which a folder template and has a field for country name. All my content specific to that country are placed under it. For SXA search I want the English ...
user avatar
0 votes
1 answer
98 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 ...
user avatar
0 votes
1 answer
80 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 ...
user avatar
2 votes
1 answer
522 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 ...
user avatar
  • 16.4k
0 votes
1 answer
77 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 ...
user avatar
0 votes
1 answer
69 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 ...
user avatar
  • 181
0 votes
1 answer
81 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 ...
user avatar
  • 181
1 vote
1 answer
62 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 ...
user avatar
  • 61
1 vote
1 answer
72 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 = ...
user avatar
  • 2,573
0 votes
4 answers
470 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 ...
user avatar
  • 53
0 votes
1 answer
33 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
30 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
71 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 ...
user avatar
  • 181
0 votes
1 answer
116 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 ...
user avatar
  • 181
0 votes
1 answer
119 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' ...
user avatar
1 vote
0 answers
90 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
0 votes
1 answer
139 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="...
user avatar
0 votes
1 answer
95 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 ...
user avatar
1 vote
0 answers
59 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),...
user avatar
0 votes
1 answer
228 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 ...
user avatar
0 votes
1 answer
85 views

How to specify a search result page for a search box component which is in another site folder in Sitecore 9.0.1

I am using sitecore 9.0.1 with sxa 1.7.We have a requirement where we keep common components in a shared site folder. We have added a search box component which is from a partial design of a shared ...
user avatar
  • 181
1 vote
1 answer
141 views

SXA Date Range filter date format

Sitecore version: 9.3 using SXA Is there any way, we can change the format of the date selected while using the Date range filter on the search page on the SXA website. we want to see selected dates ...
user avatar
  • 1,597
2 votes
1 answer
169 views

Droplist field type and Drop link field both are showing Item ID in sitecore 9.0.1

I am using sitecore 9.0.1 and sxa version 1.7. I have created a custom template with field type Drop link for the search functionality and created a rendering varient for it .But it is displaying Item ...
user avatar
  • 181
-2 votes
1 answer
104 views

How to write a custom controller for sitecore SXA search result in sitecore 9.0.1?

I want to create a customized search result rendering in order to achieve that I have to create a custom search result component. For creating custom search result component I have created a ...
user avatar
  • 181
1 vote
1 answer
175 views

How to make SXA search on particular Data folder?

I'm using SXA 1.7 and Sitecore 9.0.1. I have created a folder under the Site node and when my search should check the field values under the folder. For this I have created a search scope. I'm ...
user avatar
  • 181
0 votes
1 answer
75 views

Is it necessary to create sxa cores in solr 6.6.2

I am Newbie to Sitecore 9.0.1. I am building a SXA site for search functionality. Setting up of Sitecore and Solr 6.6.2 is done and I have installed SXA 1.7. Does the cores should be created for SXA ...
user avatar
  • 181
1 vote
1 answer
74 views

Boosting the sxa search result by multilist field values

I have a requirement where I have to boost the items in search result based on a multilist field values of the item. I have already added the target value of those multilist values to the Index using ...
user avatar