Questions tagged [solr]
Anything related to Solr indexes: querying, configuring, maintaining, ...
677
questions
0
votes
1
answer
78
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 , ...
7
votes
3
answers
2k
views
Could not find add method: AddIndex (type: Sitecore.ContentSearch.ContentSearchConfiguration)
We are setting up a new Sitecore 9.3 instance on a server, making the respective connection string changes and getting the below error while loading the Sitecore login page:
Error:
Could not find add ...
1
vote
1
answer
599
views
Creating a custom Solr core in docker using docker
I am trying to create a custom solr index using custom schema with docker container approach. I am able to create a custom index, but I am not able to associate it with the custom schema.
I did copy a ...
0
votes
2
answers
105
views
Semantic Tag Based Sxa Search not showing result on solr search service
I am using Sitecore 10.1 with Sxa on solr 8.4.1. The sxa scopes based on templates having any semantic tag is showing result in build query, but not on page preview nor published page.
Example query :
...
2
votes
3
answers
456
views
How to write the query for grouping of articlecategories to fetch the count of article in Solr
I would like to query in Solr, to pass the list of categoryID('cat001','cat002','cat003','cat004'),
based on the categoryID, we need to get the count of Article of passed categoryID in the Solr Query, ...
0
votes
1
answer
1k
views
Install Solr Search Service failed - Sitecore 10
I am installing Sitecore Experience Platform 10.1 Update-1 using a Graphical setup package for XP Single. After completion of pre-requisites when it install Solr Seach Service its failed and shows me ...
0
votes
0
answers
12
views
Is there any way to decrease the IDF factor in the relevancy score for Solr?
Context: We are seeing users use location names in the keyword search for medical practices and any practice that has the location name in the name of the practice and is only 2-3 words showing up ...
1
vote
1
answer
366
views
How to apply a greater/less than DateTime query in Sitecore using the `IQueryable<ContentSearchResult>` Linq?
How do you apply a DateTime field comparison in Sitecore using the Sitecore.ContentSearch SDK?
The ContentSearchResult[string key] function always returns a string which cannot be cast into a DateTime ...
0
votes
0
answers
290
views
Sitecore throw exception when index Date field
We are seeing the error below being thrown in our production environment. In our QA and dev environments we don't see the error.
We have tried the following:
Deleting the Solr index and rebuilding
...
0
votes
0
answers
102
views
Content search - An error has occurred and the search cannot be completed
When I search something in the Content search and it is not working, and the UI shows 0 results with a message on red background under the search bar "An error has occurred and the search cannot ...
1
vote
2
answers
260
views
How to find zookeeper configs path location
I've setup a SOLR server with Zookeeper by followed the below link.
SolrCloud-Helpers
I have done the Solr and Zookeeper setup by using the powershell script by given the above link and I can see ...
0
votes
1
answer
374
views
Finding literal spaces and dashes
I'm working with Sitecore 10.1 and SOLR 8.4.0.
I am building a typeahead search that matches items (around 17,000) within a bucket in Sitecore. There are two fields in my template that can be matched, ...
0
votes
1
answer
190
views
Boosting items by its own field values
I'm using Sitecore 9.3 and Solr 8.2.1, I had Solr index-time boosting in my old search implementation, but after I upgraded to a new Solr version, it is deprecated now.
Imagine I have an item with ...
3
votes
1
answer
152
views
Sitecore.ContentSearch.Linq is adding backslash to all space characters in search query
Whenever I query using the Like query the Sitecore generated Solr query escapes the space characters. Here is an example:
queryable = queryable.Where(result =>
result["...
1
vote
1
answer
238
views
Solr suspicious behavior
I've Sitecore instance hosted on Azure according to below breakdown :
Sitecore 9.1 (each component as standalone App Service)
Solr 7.2.1 (standalone App Service)
App insights configured and connected ...
1
vote
1
answer
505
views
Publish events don't trigger indexing
I was using Sitecore 8.2 then upgraded to Sitecore 9.3, after the upgrade process, when I publish any item, I noticed that the index is not updated, I must trigger a full rebuild for the index to be ...
0
votes
0
answers
184
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:(...
0
votes
2
answers
316
views
Content Search API issue with Droplist and Treelist fields
I am facing a weird(might not be weird for experienced people) issue where ContentSearch API is returning null value for few fields while I can see the correct values in Solr. The fields whose values ...
2
votes
1
answer
386
views
solr connection issue with Sitecore on CD servers
We have an issue happening every once and while related to the connection between the CD servers and the solr which is causing some pages to go down and show empty results.
We found that the CM is ...
1
vote
2
answers
1k
views
Solr index field are indexed with ItemFieldName_sm & not as ItemField_s
Recently we have upgraded our project to Sitecore 10 & SOLR 8.4 , after the upgrade we set up the solr & rebuilt indexes for all indexes. But we are seeing a lot of index fields are stored/...
0
votes
1
answer
294
views
No such core:xdb
I am getting a no such core:xdb error when trying to rebuild xdb
Sitecore.Xdb.Collection.Search.Solr.Failures.SolrResponseException: {
"responseHeader":{
"status":400,
&...
1
vote
2
answers
321
views
Visualization.GetRenderings returns empty string using local: data source
I am trying to index rendered content. I am using the following plugin.
It works with a global data source, however, it does not index rendered content if the data source is local (local:/Data/Rich ...
0
votes
3
answers
360
views
Unable to get results from Solr for the Multilist values using Sitecore 9.3 code
I'm upgrading our application from Sitecore 8.2 to 9.3 and we are working on Solr 8.1 where there are lots of multilist fields available as below:
"document_languages_sm":["...
1
vote
1
answer
493
views
Sitecore 9.3 Solr Computed Field not updated [duplicate]
I have a computed field which is not updated when Sitecore item getting into index (all other field values are indexed) but if I do manual rebuild for the index then my computed field value get ...
0
votes
2
answers
4k
views
Solr admin portal HTTP ERROR 404 Issue
We are using solr 6.6.2 with Sitecore 9.0.2 and https://localhost:8989/solr/ working fine.
Yesterday evening suddenly I was getting
HTTP ERROR 404
Problem accessing /solr/. Reason:
Not Found
...
0
votes
1
answer
56
views
Finding root of a current index
Is there a way to get the index root.
I am able to find the current index using the following code
indexService.GetContentIndexName()
How can I get the current Root defined inside the index ?
0
votes
1
answer
114
views
Crawl html links in a Rich textfield in SOLR
I have a Rich text field. If the user enters a hyperlink in the richtextbox and I run a query in SOLR, it shows up as text only. The link associated does not show up. What could the issue be?
In the ...
1
vote
2
answers
234
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 ...
-1
votes
1
answer
212
views
Unable to GetItems() from Multilist Field with Search
I am currently working on upgrading Sitecore 8.2 to 9.3, I came across the multi-list field with Search where we were able to get the items in 8.2 but not in 9.3.
Please find the below code used to ...
1
vote
1
answer
419
views
Programmatically boost items in an index does not work
I have this code:
public class ResolveDemoBoostFactor : BaseResolveItemBoostPipelineProcessor
{
public override void Process(ResolveItemBoostArgs args)
{
Assert.ArgumentNotNull(...
0
votes
0
answers
79
views
Adding _semantics field into Solr
I am implementing _Semantics field in the Solr index
<fieldNames hint="raw:AddFieldByFieldName">
<field fieldName="customtags" returnType="text" />
</...
0
votes
0
answers
92
views
Unable to save the data in Solr custom indexes
Working on Solr 8.1.1 with Sitecore 9.3, And created the custom indexes but unable to save the data in those indexes.
Please find the below configuration for custom indexes made:
<contentSearch>&...
3
votes
3
answers
308
views
Kubernetes Install of SOLR SearchStax Not Completing
We are doing a Kubernetes install and the part of the SOLR SearchStax install the process is not completing. We get some Successful Creates, but also see an error that BackOffLimitExceeded. The job ...
0
votes
0
answers
54
views
Recommendation Engine with Solr [duplicate]
When a user searches, I need to also show You may like these or Other users searched for or People also ask - basically a recommendation engine. We are using Sitecore 9.1, Solr 7.7.
Does Solr have ...
1
vote
1
answer
102
views
Rule based boosting at the field level
We are using Sitecore 9.1, Solr 7.7 and are NOT using SXA.
I tried creating a boosting rule and associated the rule with the template.
The rule is as below:
where the page title field contains bills
...
1
vote
1
answer
505
views
Computed field is getting updated in solr index only when we do full rebuild of reindex
I have a Sitecore instance running on Sitecore v9 update 2 using
SOLR. So I have created 3 new computed fields, these fields are
working properly when I rebuild index or re-index tree (both master
and ...
1
vote
2
answers
80
views
Unable to implement Social module in Sitecore 9.3
I am currently working on configuring Solr 8.1.1 in Sitecore 9.3,
In our Sitecore 8.2 solution, we found that there are some configs related to the Social module as listed below:
Sitecore.Social.Solr....
0
votes
3
answers
501
views
Error in configuring Solr 8.1.1 with Sitecore 9.3
I am currently configuring Solr 8.1.1 in Sitecore 9.3, But I'm unable to view the Indexing Manager under CMS->Control panel, instead we are getting the below error:
[InvalidOperationException: ...
1
vote
1
answer
215
views
Installing Sitecore 9.3 Offline
I am trying to install Sitecore 9.3 on one of our servers (not connected to the internet). But in the end it throws this error.
I installed Solr separately before installing Sitecore using ...
1
vote
1
answer
562
views
Solr 8.1 replication with invalid master error after setting up
I followed the article (https://medium.com/@hanyshehata/sitecore-setup-using-solr-master-slave-index-replication-6417cdd98eaa) to set up solr (8.1.1) master/slave on scaled environment. While I got ...
2
votes
1
answer
190
views
Sitecore SOLR core pointing to different core directory
I have setup the SOLR with switch on rebuild configuration. But after setting it up I am facing a weird issue like my SOLR web index core is pointing to different SOLR index directory.
Let me explain,
...
0
votes
1
answer
562
views
PopulateManagedSchema.aspx The remote server returned an error: (404) Not Found
While installing Sitecore 9.3 I am getting this error
Error requesting https://us-int-cms.com/sitecore/admin/PopulateManagedSchema.aspx?indexes=all: The remote server returned an error: (404) Not ...
3
votes
1
answer
1k
views
Solr intermittently failing with "java.nio.file.NoSuchFileException"
I have a vanilla Sitecore 10.1 SXA setup on Docker. And for all intents and purposes it functions fine.
However. Sometimes, and I've not been able to track down when or why this happens exactly, Solr &...
0
votes
1
answer
81
views
CreateConnection method doesn't exits in DefaultSolrStartUp - Sitecore 9.3
I am in process of upgrading content serach Solr provider from Sitecore 8.2 to Sitecore 9.3.
I am facing some code issue after upgraded the dll(Sitecore.ContentSearch.SolrProvider, Version=6.0.0.0)
...
0
votes
1
answer
138
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 ...
0
votes
1
answer
137
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 ...
0
votes
0
answers
48
views
Unable to change the commerce field name in Solr results
Using XP 10.1 & XC 10.1 in my local machine.
I've created a new template (Vehicle) with a field (StoreID) using the composer.
In this file, added the following policy:
C:\inetpub\wwwroot\...
2
votes
2
answers
464
views
Computed Field in Sitecore using Solr and Analyzers
I'm trying to use an analyzer on my computed field to allow searching with spaces. Nothing I've tried works yet. Any ideas?
<contentSearch>
<indexConfigurations>
<...
0
votes
0
answers
159
views
Commerce custom template field not showing up in Solr schema
In the solr portal, the new field is not displayed either in schema or in the search results.
Using XP 10.1 & XC 10.1 in my local machine.
Created a new template using composer.
Updated the ...
0
votes
1
answer
186
views
Sitecore Commerce 9.2 Sellable items and Catalogs not indexed
I am setting up Sitecore commerce 9.2 environments.
I have created my authoring and shops environment and have added some sample products.
I do not see Category or Sellable items indexed to Solr, but ...