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
1 vote
0 answers
28 views

SXA search scope query not updating custom field name

In the scope query field, for the SXA search, I have entered a query like +custom:Divisions|{C24CDE42-XXXX-4225-9F5F-65D6953EF1C7}. Now I check the Solr query log it builds the query like ?q=divisions:...
Jumping Rabbit's user avatar
0 votes
0 answers
97 views

Sitecore SXA search ordering with Solr

I'm trying to understand how results are ordered when using a SXA Search results component without using a Default sort order option or a Sort result component. I need this for a site search, where ...
z00mable's user avatar
  • 621
0 votes
1 answer
39 views

Sxa search box suggested result not found in multisite scenario

Context: I am using the sxa search box component in site A to search through the items of site B, which is a shared site. The search itself it is working fine: when I click enter, it shows the results ...
user3564042's user avatar
0 votes
0 answers
38 views

I'm trying to make PDFs available via the SXA search component but always get the server link not the download URL

Im having great trouble trying to make PDFs available for download via the SXA search component. My existing PDFs are searchable and visible in the results, but the link is always prefixed relative ...
Jez Cowley's user avatar
1 vote
1 answer
26 views

SXA search result API is not giving the result for the custom index on newly setup preview CD based on publishing target

We have created the custom indexes on the newly set CD server based on the new publishing target using docker. Please quickly check one of the posted questions to get an idea of how I've set up the ...
Jumping Rabbit's user avatar
1 vote
1 answer
25 views

page size in search result component not working as expected

i just create new computed field for sorting search result alphabetical ascending, but when i put page size for result as example 8 it displays only 3 in page load, while if i used any other field in ...
Sara Elgendy's user avatar
1 vote
1 answer
48 views

Saving one language version of search scope item overwrites other languages versions of same item

I am working on a multilingual site in Sitecore and I need to filter search results by current language. I am using a search scope and I would like to have different versions of a search scope, one ...
user3564042's user avatar
0 votes
0 answers
40 views

All the facets terms not loading in multi list filter from solr on initial load

We are using Sitecore 10.2 with SXA on Azure Kubernetes, and Solr as a search service. On a multi-list facet filter (facet-multi-selection-list), trying to fetch facet terms, where facets are added ...
user13291's user avatar
0 votes
2 answers
150 views

Sitecore sxa search result not coming from custom index [duplicate]

I am using Sitecore 10.2 in local on containers. I have created a custom indexer, and it is reflecting both in Solr and Sitecore showconfig. How do I bring sxa search results from the custom indexers? ...
user13291's user avatar
1 vote
0 answers
35 views

Sitecore Search Scope Boosting - 400 Bad request

I have created a search scope that works very well. But I would like to make the search box to search the items based on the field value. So I add a new rule in the boosting section and it throws a ...
Jack Noob's user avatar
0 votes
0 answers
35 views

Sxa sort by relevance does a random sorting of search results in absence of search term

I am using Sxa Sort by relevance in search results and the facet is based on the title. This is used in such a way that it defaults to relevance on the site. Additionally used a boosting feature on ...
Siddhi Kamat's user avatar
0 votes
0 answers
27 views

How to implement boost rules for SXA search results in Sitecore

We are using Sitecore 9.0 (solr 5.0), soon migrating to 10.2 (solr 6.3). I am referring Sitecore documents - https://doc.sitecore.com/xp/en/developers/93/platform-administration-and-architecture/...
SummiJ's user avatar
  • 27
0 votes
0 answers
37 views

SXA SearchService does not take more than 100 characters

I have created a custom SearchService.cs class in Sitecore SXA 10.2. There is a function that I've overridden i.e ContentPredicate. protected override Expression<Func<ContentPage, bool>> ...
Siddhi Kamat's user avatar
0 votes
0 answers
15 views

SXA Search Build Query using Multiple Templates along with SXA Tags conditions [duplicate]

I am new to SXA & using SXA tags feature for getting related items. I have two or more templates from where I want to get the data based on SXA tags conditions. When I am using individual template ...
HariWaghamare's user avatar
1 vote
1 answer
79 views

How to get results based on current context language using rendering variant Search Build Query?

I am using rendering variant query item to write the search build query to get the related items. I want to query items that should also match current user context language. I have tried using ...
HariWaghamare's user avatar
2 votes
2 answers
99 views

How can we get sorted result of similar interest SXA query using tags

I want to fetch people with similar interests based on common taxonomy tags. I am following the Sitecore documentation section "Add a query item that uses a token" mentioned here: https://...
HariWaghamare's user avatar
1 vote
1 answer
204 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 ...
John Davies's user avatar
2 votes
2 answers
65 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 ...
Anjali Nirmani's user avatar
0 votes
0 answers
18 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.
Raviraj's user avatar
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
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
0 votes
1 answer
119 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 ...
Prem Murmu's user avatar
1 vote
0 answers
93 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 ...
tomato's user avatar
  • 11
1 vote
2 answers
244 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 ...
Jumping Rabbit's user avatar
0 votes
2 answers
122 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
0 answers
83 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 ...
Rob Connolly's user avatar
0 votes
0 answers
41 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?
Vlad Iobagiu's user avatar
  • 18.5k
2 votes
1 answer
89 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") ...
Sharad Kumar Sangal's user avatar
3 votes
1 answer
97 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", &...
Jumping Rabbit's user avatar
0 votes
0 answers
64 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 ...
arul pushpam's user avatar
0 votes
0 answers
64 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 ...
sonia yadav's user avatar
0 votes
3 answers
162 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 ...
Owais Ahmed's user avatar
0 votes
2 answers
188 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 ...
arul pushpam's user avatar
0 votes
2 answers
236 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 ...
arul pushpam's user avatar
2 votes
3 answers
748 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 ...
arul pushpam's user avatar
1 vote
1 answer
273 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/...
arul pushpam's user avatar
1 vote
1 answer
42 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 ...
Imad's user avatar
  • 235
1 vote
1 answer
183 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 ...
BasantA's user avatar
  • 41
0 votes
1 answer
866 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....
keysl's user avatar
  • 145
0 votes
1 answer
85 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 , ...
user1534066's user avatar
0 votes
1 answer
134 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....
NAli's user avatar
  • 875
0 votes
1 answer
142 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 ...
Paramjeet Singh Bhatti's user avatar
0 votes
1 answer
303 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 ...
Sitecoredev's user avatar
1 vote
1 answer
41 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 ...
Imran Shahid's user avatar
0 votes
1 answer
79 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 ...
Christopher Raja's user avatar
0 votes
1 answer
193 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-...
PSS's user avatar
  • 607
0 votes
2 answers
198 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 ...
Mohamed Yaseen's user avatar
0 votes
0 answers
189 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:(...
mamhh's user avatar
  • 53
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
1 vote
1 answer
264 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....
Thich Nguyen's user avatar