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....
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 ...
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"...
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 ...
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 ...
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 ...
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,...
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(...
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: ...
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 ...
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 ...
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();
...
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 ...
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 ...
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".
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": [
{
...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
sitecore-search × 24xm-cloud × 4
solr × 3
content-search × 3
jss × 3
graphql × 2
sitecore-client × 1
sitecore-api × 1
upgrade × 1
coveo × 1
buckets × 1
webapi × 1
boosting × 1
itemservice × 1
nextjs × 1
sxa-jss × 1
edge × 1
sitecore-cloud × 1