Questions tagged [solr]

Anything related to Solr indexes: querying, configuring, maintaining, ...

Filter by
Sorted by
Tagged with
2
votes
3answers
47 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
1answer
32 views

Sitecore 10 Installation failure [closed]

I am trying to install the sitecore 10 using SIA. I am getting the below error.
0
votes
0answers
17 views

Solr - Can I change the "_indexname" field from "string" to "lowercase" using config files?

I've realized that since Sitecore 10.1 the Solr "_indexname" field is a "lowercase" instead of a "string" as it used to be. Is it possible to override its type in lower ...
3
votes
1answer
47 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
0answers
9 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 ...
0
votes
0answers
35 views

SolrCloud Backup Failure

We're using Sitecore 9.3 having SolrCloud 8.1.1. We are facing an issue while taking Solr Backup, APIs getting failed when the alias names are same as collections name. In Solr admin dashboard, we can ...
1
vote
1answer
15 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
0answers
36 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
0answers
33 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 ...
0
votes
1answer
29 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
1answer
31 views

Solr ContentSearch - 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
1answer
32 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 ...
1
vote
1answer
53 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["...
0
votes
0answers
35 views

Solr spatial search as part of an OR clause in a content search predicate

When performing content search queries, you can make use of the WithinRadius, OrderByDistance and OrderByDistanceDescending methods of the Sitecore.ContentSearch.Linq.QueryableExtensions class to get ...
0
votes
0answers
20 views

How to setup SSL for SOLR with an existing certificate

I am trying to setup SSL for SOLR Cloud instance, in K8s. Trying to follow these instructions: https://solr.apache.org/guide/8_6/enabling-ssl.html. But, we cannot use self signed certificates due to ...
1
vote
1answer
73 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
1answer
77 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
0answers
77 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
1answer
50 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 ...
1
vote
0answers
53 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
2answers
131 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
1answer
49 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, &...
0
votes
0answers
36 views

Tokens are incompatible, they have different set of shards error in Prod

I am getting the Tokens are incompatible error. 2021-07-19 10:59:11.131 +00:00 [Error] Failed indexing next set of changes. There will be an attempt to recover from the failure. Sitecore.Xdb....
1
vote
2answers
91 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
2answers
43 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
1answer
100 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
2answers
158 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
1answer
35 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
1answer
30 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 ...
0
votes
1answer
38 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
1answer
55 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
1answer
72 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
0answers
45 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
0answers
39 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>&...
2
votes
2answers
107 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
0answers
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
1answer
42 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 ...
0
votes
1answer
105 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
2answers
54 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
3answers
66 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
1answer
50 views

Installing Sitecore 9.3 Offline

I am trying to Install Sitecore 9.3 in one of our servers (not connected to internet). But in the end it throws this error. I installed Solr separately before installing Sitecore using traditional ...
1
vote
1answer
127 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
1answer
50 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
1answer
58 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 ...
2
votes
1answer
276 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
1answer
33 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
0answers
37 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
1answer
47 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
0answers
32 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\...
0
votes
1answer
83 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> <...

1
2 3 4 5
11