Skip to main content
6 votes
Accepted

How to Prevent API Call in Sitecore Search Until User Submits Search in Next.js (Sitecore JSS)?

To achieve this, you can use the query.setEnabled(false) method provided by Sitecore-Search. This method disables the API calls completely, meaning the API won’t be triggered until you enable it again....
Krushna's user avatar
  • 397
3 votes

When to use getServerSideProps for connected graphql search component

getServerSideProps on your component can only be used when the page the component is used on is setup for SSR (Server Side Rendering). The getStaticProps and getServerSideProps methods on components ...
Richard Seal's user avatar
  • 20.8k
2 votes

Inquiry Regarding "Job Failed Due to Heartbeat Error"

In the off chance that the link provided in the comments is removed/unpublished, I will add an answer here for anyone else having the same issue. The error "Job Failed Due to Heartbeat Error"...
Dean OBrien's user avatar
  • 1,842
2 votes

Item versions to create by date

No, by default Solr will not return all versions of the item. But it's not really Solr related, it's how Sitecore publishing and web database works. When you publish an item, it only published the ...
Marek Musielak's user avatar
  • 24.2k
2 votes

Sitecore GraphQL OR condition

It seems you're trying to construct a GraphQL query to filter and sort Sitecore items based on their template types, using a logical "or" condition for templates. Also, you want to ...
Sanden's user avatar
  • 83
2 votes

Sitecore GraphQL OR condition

Hi in XM cloud both Experience Edge GraphQL and Preview Environment GraphQL now supports Searching, filtering using(multilist,treelist,single line text). Also it supports date field filteration with ...
Nelson's user avatar
  • 180
2 votes

Search Results are not accurate

Please check Analyzers for attribute inside Administration -> Domain Setting -> Feature Configuration -> Textual Relevance in CEC portal. Trying changing/adding attribute analyzer to Standard,...
Akash Savalagi's user avatar
2 votes
Accepted

SOLR Searches - Issues with forward slash

Can you make below changes on search predicate while creating Solr query. var predicate = PredicateBuilder.False<SearchResultModel>(); predicate = predicate.Or(x => x.Title.Contains(...
ckhanna's user avatar
  • 3,709
2 votes

How to filter based on multiple geo co-ordinates with Sitecore Search

You can also try FilterGeoWithin , It is mainly for multiple location search const coordinates = [ { lat: -28.281932, lon: -55.573635 }, { lat: -31.254713, lon: -50.928666 }, { lat: ...
Krushna's user avatar
  • 397
2 votes

How to filter based on multiple geo co-ordinates with Sitecore Search

We can store multiple coordinates on same object by defining multiple GEO attributes in Sitecore Search and pairing them with FilterOr in the code In below example, we have three coordinates ...
Harsh Baid's user avatar
  • 2,172
2 votes

How to do distance based sorting in Sitecore Search

There are to two types of Geo-Location Filters FilterGeo : This filter uses a single point, defined by latitude and longitude, to find items near that specific location. It’s perfect when you want to ...
Krushna's user avatar
  • 397
2 votes

How to do distance based sorting in Sitecore Search

Solution: To sort by distance, we need to pass the GEO data in the request context. Code snippet to set GEO data in request context: // Get request context const context = PageController.getContext(); ...
Harsh Baid's user avatar
  • 2,172
2 votes

Sitecore CMS Search not working

Two things It uses sitecore_master_index, By default if you just re-index it should start searching the data but in your case it is not happening Can you check the logs and see if you are getting ...
Daivagna Nanavati's user avatar
1 vote

Error While Adding Source to Sitecore Search

It looks like the document you are crawling does not have required fields i.e. type in your case. You can control field level settings under the Domain setting tab in the Admnistation. Inside ...
ckhanna's user avatar
  • 3,709
1 vote

Search Results are not accurate

This is way the analyzers work (https://unicode.org/reports/tr29/#Word_Boundary_Rules - WB6-WB7c). You should add a space in "worldwide.Facts" to be "worldwide. Facts".
mixer's user avatar
  • 11
1 vote
Accepted

How to Implement Sitecore Search Functionality Focused on Specific Fields Using REST API?

You can use the following request in Rest API, to frame the search to look out for phrase in specific search fields as below. { "widget": { "items": [ { ...
ckhanna's user avatar
  • 3,709
1 vote

Sitecore CMS Search not working

Sitecore supports three different search engines: Solr, Azure Search, and Lucene. You must consider several factors, such as the purpose of the specific environment, your scaling requirements, and the ...
Sumit Bhatia's user avatar
  • 5,919
1 vote

Inquiry Regarding "Job Failed Due to Heartbeat Error"

This is a Sitecore error that gets resolved by Sitecore engineering teams. It can impact source infrastructure related tasks, like reindexing, recrawling and partial updates pushed via the ingestion ...
searchGeek's user avatar
1 vote

Understanding the Sitecore Search Capabilities for XM Cloud Platform

Sitecore Search is a Saas product that is agnostic of the content sources. It provides you a few different ways to index content from content sources. You can create a web crawler that will crawl ...
Syed Akhtar's user avatar
1 vote
Accepted

Boosting rules do not work in Sitecore Search

In order to start seeing boosted documents at the top of your search results, you should allow specific slots to display boosted items. Follow the steps below to mark slots as "boosted": Go ...
Anna Bastron's user avatar
  • 2,053
1 vote

Sitecore Search - Empty Analytics

Correct, the Sitecore Search uses the Events for generating analytic dashboards, insights into your search performance and even driving personalisation. So, to track your visitor interactions with the ...
Kate Orlova's user avatar
  • 1,329
1 vote

Sitecore Search Index Sitecore Content using a Request Trigger and Experience Edge

I had the same error "Validation Error: The number of indexed documents should be bigger than 0" and it turned out that it was caused by a missing id attribute in my document extractor. As ...
Anna Bastron's user avatar
  • 2,053

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