Questions tagged [solr]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
13 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
34 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
32 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
23 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
26 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
29 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
32 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
71 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
65 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
48 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
48 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
105 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
45 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
30 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
85 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
42 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":["...
0
votes
1answer
89 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
107 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
34 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
37 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
53 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
47 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
92 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
41 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
85 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
53 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
61 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
49 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
102 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
49 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
54 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
245 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
31 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
34 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
42 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
30 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
77 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
0answers
38 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
1answer
60 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 ...
0
votes
0answers
56 views

SOLR cores not available after sitecore XC installation

I have installed Sitecore 9.0.2 on azure with Commerce 9.0.3 version. I tried to install this Sitecore XC with SOLR and installation was successful without any errors. When I tried to access the ...
0
votes
0answers
24 views

Sitecore search to support pdf files [duplicate]

how to implement search to support pdf files? Is it possible with Sitecore 10 & Solr on azure pass?
0
votes
0answers
20 views

Single select and Multiselect checklists not working with Chinese language in Sitecore 9.0.1

I am using Sitecore 9.0.1 with SXA 1.7 and solr 6.6.2.We have requirement for multiselect search for chinese language. I have created a template called fruit with fruitname,color etc as its fields ...
0
votes
1answer
55 views

Sitecore 9.0.1 installation is failing with Solr 6.6.3

I already have 2 instances running on my machine with Solr version 6.6.2 for POC purpose I am installing Sitecore 9.0.1 instance with Solr version 6.6.3.Solr is installed using the powershell script ...

1
2 3 4 5
11