Questions tagged [solr]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
105 views

Index English language item version only [duplicate]

I have two versions of every item (English and Chinese). While indexing, I have noticed both the versions (English and Chinese) of every item is indexed. How can I only index the English version. Any ...
Owais Ahmed's user avatar
1 vote
0 answers
47 views

Sitecore commerce 9.3.0 (rev. 003498) sellable and catalog items not indexed in Solr 8.1.1

We have created Catalog through Sitecore Commerce. This is working fine in UAT environment. We are going to make Production Server same replication of UAT server. We have exported Catalog from UAT ...
Dillip's user avatar
  • 21
1 vote
1 answer
89 views

Upgrading Custom Sitecore Solr SearchProvider

I am in process of upgrading Sitecore from 8.2 to 10 and also Solr. SolrSearchWithSpatialContext was implemented by previous team but looks like this code is outdated now and there has been no update. ...
Parry Brookes's user avatar
0 votes
1 answer
51 views

Do we need to add Publishing Service Content Availability Solr Fields to the Managed Schema?

We have configured publishing service in our environment and we came across with below post. Should we manually add the fields in SOLR managed schema? isAvailable versionsunrisedate versionsunsetdate ...
Astle's user avatar
  • 385
0 votes
1 answer
137 views

Docker Solr - set facet limit using solrconfig.xml

I am running Sitecore 10.2 in Docker. I have a custom index and need 100 facets from search result. I found a solution in Solr documentation. It suggest to raise a limit by changing solrconfig.xml. ...
Matyas Havel's user avatar
0 votes
3 answers
264 views

Switching Azure search to SOLR search in Sitecore 10.2

We are doing the upgradation of Sitecore from 9.0 to 10.2. In that we need to switch the Azure to SOLR. We have updated all connection strings and other config files which are required for Solr. Is ...
Astle's user avatar
  • 385
0 votes
0 answers
30 views

Solr core getting locked intermittenlty [duplicate]

We are using SOLR in Sitecore 10.2 version. But sometimes SOLR core getting locked. After restarting the SOLR app service, it is getting up. Error: sitecore_web_index: org.apache.solr.common....
Astle's user avatar
  • 385
2 votes
1 answer
785 views

GraphQL Search Query non-Edge

I'm using a non-edge GraphQL endpoint to leverage keyword search and faceting in my content search queries. This means that I'm using the Sitecore.Services.GraphQL.Content.Queries.SearchQuery class ...
Chet Cheeto's user avatar
0 votes
1 answer
186 views

Solr returns 500 exception for /solr/sitecore_master_index/update

We have deployed Sitecore into Azure. In Solr server we noticed a 500 exception(/solr/sitecore_master_index/update). Sitecore log shows the below exception: Exception: SolrNet.Exceptions....
Reddy's user avatar
  • 97
0 votes
0 answers
97 views

While rebuilding sitecore index getting java.nio.file.NoSuchFileException

We have deployed Sitecore instance in Azure.When we try to rebuild master index getting below exception. We are using Sitecore 9.0.1 version. java.nio.file.NoSuchFileException: D:\home\site\wwwroot\...
Reddy's user avatar
  • 97
0 votes
1 answer
281 views

Unable to complete sitecore_master_index rebuild

When we try to do complete master index rebuild it gives the below error. Job started: Index_Update_IndexName=sitecore_master_index|#Exception: System.Reflection.TargetInvocationException: Exception ...
Reddy's user avatar
  • 97
0 votes
1 answer
160 views

When this URL(/sitecore/shell/Applications/Buckets/Services/Search.ashx) gets called

We have deployed Sitecore into the Azure cloud. We often see Sitecore CM instance getting down, to fix this slowness check the http5xxx error on the azure web APP. As part of troubleshooting noticed ...
Reddy's user avatar
  • 97
1 vote
1 answer
96 views

Sitecore 10 Solr Indexing only on processing server

Our Sitecore CM has a huge amount of content data and whenever running the index from the control panel it's become a huge load on our Sitecore instance and took a couple of hours. So, we want to ...
D S's user avatar
  • 254
4 votes
2 answers
364 views

SOLR Search result order is different due to the query _val_:__boost function

After upgrading the project to Sitecore10.2 SOLR search result is different in order due to the query _val_:__boost function. I have investigated the issue and found out that in Sitecore 9.0.2 our ...
Himmat Singh Dulawat's user avatar
2 votes
1 answer
82 views

Inconsistent behavior when use Solr boosting

I'm using Sitecore 9.3 and Solr 8.1.1, I have this simple query q=itemName_t:(*test*)^80&fl=itemName_t,_templateID,score&fq=_indexname:(custom_index)&wt=xml And these are the results: ...
Mohamed Yaseen's user avatar
3 votes
1 answer
351 views

How to deploy Solr new custom cores in an AKS environment via Azure DevOps

Regarding the following article: https://www.koenheye.be/running-a-container-to-check-its-contents/ it is possible to create custom cores in the Solr docker container by configuring a specific json ...
Massimo Della Calce's user avatar
1 vote
0 answers
26 views

Solr to SolrCloud migration [duplicate]

We are trying to migrate the existing Solr standalone server to SolrCloud. Have tested the SolrCloud setup in testing account and curious to know how to migrate the indexed data from Solr standalone ...
bala subramaniyan's user avatar
3 votes
1 answer
87 views

Unable to map sxatags_sm field to model

I have indexed my content in the SOLR 8.8.2 and the tags available on those items are being pushed in the SOLR as below: { "description_t_en":"Lorem Ipsum is simply dum", &...
Prashant Tomar's user avatar
0 votes
0 answers
434 views

Solr field is string while Sitecore search is passing text field type

We have upgraded from Sitecore 8 to Sitecore 10.1 and also updated Solr 6.6.2 to Solr 8.4 Some of the search from Solr was returning null. Upon investigation, I found out that the field type in Solr ...
Owais Ahmed's user avatar
0 votes
1 answer
89 views

Restrict Article items getting indexed programmatically in Solr

We have both Solr and Coveo Indexes for different purposes. We apply an optimization technique to indexing that I call Escape Validation. It's designed to prevent indexation from indexing content ...
Yeshwanth's user avatar
0 votes
2 answers
401 views

Solr replication configuration reports the error 'Invalid URL syntax in "shards" parameter'

After upgrading from Solr 8.1.1 to 8.8.2 I'm seeing an error on the "follower" instance: Unable to create core [sitecore_web_index] Invalid URL syntax in 'leaderUrl' with value 'https://...
Michael West's user avatar
  • 17.9k
0 votes
1 answer
349 views

Nested Solr Structure

Is it possible to create a nested data structure in Solr using the content search index configurations? I'm curious if I can create a document like the following, then query against and/or facet the ...
Jay's user avatar
  • 3
1 vote
1 answer
440 views

Graph QL Search Result Computed Field

I have started to look at using Graph QL for search using the endpoint that comes out the box with Sitecore 10.1. I've read that the results are based on an item but had lazy loading eg. You have ...
Luke Wilkinson's user avatar
1 vote
1 answer
726 views

DefaultMediaItemTextExtractor logs an error 'Cannot extract content from media item with id GUID'

Sitecore 10.2 running in Docker Desktop for Windows While crawling content I started seeing tons of errors messages in the Sitecore log: 2080 13:47:43 ERROR DefaultMediaItemTextExtractor: Cannot ...
Michael West's user avatar
  • 17.9k
1 vote
1 answer
409 views

Maintain Facet count after faceting

I'm using Sitecore 9.3 and Solr 8.1.1. I'm developing a search filter using Sitecore Content Search API, with the behavior of keeping the facet count the same even after selecting options. For example,...
Mohamed Yaseen's user avatar
0 votes
3 answers
137 views

$name is getting indexed

We are on Sitecore 10.1 and Solr 8.4. We are using Filter (Checklist) component and found out $name is showing on the page. Upon checking the Solr, the $name is getting indexed as well. This is the ...
Owais Ahmed's user avatar
0 votes
0 answers
118 views

Sitecore 10.1 sitecore_master_index taking 19 hours to rebuild

We have migrated from Sitecore 8.2 (solr 6.6.2) to Sitecore 10.1 (solr 8.4). The rebuild sitecore_master_index in Sitecore 10.1 is taking 19 hours while it used to take less than 2 hours in Sitecore 8....
Owais Ahmed's user avatar
0 votes
0 answers
177 views

Getting Error while Installing Solr 7.5.0 - 0x80090020

Getting error while setting up Solr 7.5.0, on SSL set step to add as root CA Script used: https://gitlab.com/viet.hoang/workshop/blob/master/Scripts%20for%20Sitecore%209.1/install-solr.ps1 VM Server: ...
Gunasekaran's user avatar
1 vote
1 answer
245 views

How to search only curly braces i.e. { } in Solr search using Solr URL

As shown in the picture, I have some tokens in a computed field and want to search all those fields which have { }, but not able to do so, although I have put escape sequence i.e. I have tried to ...
Rinku Jain's user avatar
0 votes
1 answer
189 views

Error While setting up SSL certificate for Solr 6.6.2

I am trying to setup SSL for solr 6.6.2 for Sitecore 9.0.2 but getting the below error: Does anyone have an idea how to fix this? Trusting generated SSL certificate... Import-PfxCertificate : ...
Sitecoredev's user avatar
0 votes
2 answers
1k views

The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel

I am installing Sitecore 9.0 update 1 using SIF version 1.2.1 , have installed Solr 6.6.2 also by following http://www.flux-digital.com/blog/install-sitecore-9-update-1-4-simple-steps/ blog but i am ...
Vinaya's user avatar
  • 321
0 votes
0 answers
141 views

Apply sorting on specific template

I'm using Sitecore 9.3, I have search API that fetches two types of templates, Product and Content Page, the search results are always a combination of these two types. I apply boosting on Product ...
Mohamed Yaseen's user avatar
0 votes
0 answers
90 views

SXA indexes are populated with limited document count only

I am facing a weird issue like if I index sitecore_sxa_master_index and sitecore_sxa_web_index then popup shows all items indexed successfully and no error is coming in either siteore logs or SOLR ...
Prashant Tomar's user avatar
2 votes
2 answers
454 views

How to set uniqueKey field in JSON based Solr Schema

I am using JSON based Solr schema to create custom indexes in Sitecore V10.2 docker. After rebuilding my custom index, I am getting following error : Although, when I checked the fields in the custom ...
Anvay's user avatar
  • 83
0 votes
1 answer
213 views

Adding a computed field using the Schema API with SolrCloud

Does anyone have any experience adding computed fields to a managed schema? I'm using Solr in SolrCloud mode with 1 node. My Sitecore 10.2 setup uses docker with a solr-init and solr image. I'm able ...
creativeflood's user avatar
0 votes
0 answers
24 views

Enabling "Sitecore.ContentSearch.SolrCloud.SwitchOnRebuild" Gives error [duplicate]

I am using Solr Cloud with Sitecore 10.1. When I enable the configuration file Sitecore.ContentSearch.SolrCloud.SwitchOnRebuild it gives me the below error. Here is the text error message Could not ...
Sumit Bhatia's user avatar
  • 4,676
0 votes
0 answers
47 views

SolrContextCommand.DoesIndexExist

I have a problem with crawling after installing Sitecore commerce. SOLR works, mom is set in CommerceMinions application: "$values": [ { "$type": "Sitecore....
Jan Nowak's user avatar
  • 311
2 votes
1 answer
743 views

Sorting by date with Solr is returning an incorrect sort order

If I run a normal search query via the content search API, sorted by an indexed date field, it is not sorting the results correctly. I have checked that the sort field on the Solr managed schema is in ...
Mark Gibbons's user avatar
  • 5,432
1 vote
1 answer
64 views

Select A Rendering Not Recognizing Allowed Controls From Placeholder after App Pool Recycle

I'm experiencing an issue in Sitecore 9.0.2, Lucene index, and 10.2, Solr index, where some, but not all, of our placeholders in Experience Editor are not recognizing the renderings inside the Allowed ...
Kyle's user avatar
  • 21
0 votes
1 answer
86 views

In Solr can we use two diff. fields (min and max) for single range facet?

Currently, I am trying to implement salary range facets like 10000-20000 (2) 20001-30000 (100) 50000-60000 (150) However in Sitecore, we have two different fields (MinSalary & MaxSalary) to ...
Prathik's user avatar
2 votes
3 answers
656 views

sitecore_web_index index is not getting updated upon publish on remote Solr servers

I am hoping to understand the cause of this and hopefully find a solution - I have looked at every possible solution, but haven't been able to fix it. Sitecore v10.0.2 using Solr 8.4. In my current ...
Harish's user avatar
  • 119
0 votes
1 answer
810 views

SolrCore Initialization Failures - error accessing managed-schema config

I ran Sitecore "Getting Started template" and got SolrCore Initialization Failures. sitecore_marketing_asset_index_web_shard1_replica_n1: org.apache.solr.common.SolrException:org.apache....
Jaydari's user avatar
  • 41
3 votes
2 answers
2k views

Creating a custom Solr core using solr-init container in docker

I am using docker approach with Sitecore V10.2. I am trying to create a custom index with it's associated schema. I followed following article as the reference point : Add your custom index to Solr in ...
Anvay's user avatar
  • 83
1 vote
1 answer
79 views

Modifying Solr Logging Library on Sitecore 8.2

I'm trying to modify the log4j 1 library in Solr which is used with Sitecore 8.2. The plan is to either upgrade the Log4j to Log4j 2, or to use Java Logging instead using SLF4J. Will this kind of ...
Iqrar Aminullah's user avatar
0 votes
1 answer
147 views

Solr QueryElevationComponent being ignored

I'm trying to set up "best bets" in a Sitecore 9.3 environment. I set up the Solr Query Elevation Component following the instructions at this URL: https://solr.apache.org/guide/6_6/the-...
Tim's user avatar
  • 21
0 votes
3 answers
534 views

GetFacets / GetResults returns an empty facet list

I was tasked to create a facet component for our solution on top of an already existing search functionality - which is an API controller. The code snippet I added is the use of .FacetOn(x => x[key]...
Lala's user avatar
  • 377
1 vote
2 answers
427 views

Solr index field return types are different

We have upgraded to Sitecore 10.1 from Sitecore 8.2 and Solr 8.4 from Solr 6.6.2 We have a droplist field which is PropertyAddressState and after rebuiliding the index it is propertyaddressstate_s ...
Owais Ahmed's user avatar
0 votes
0 answers
44 views

Solr 8.4 date issue

We are migrating Sitecore 8.2 to 10.1 and also Solr 6.6.2 to Solr 8.4. The indexes in Solr 8.4 are building fine. But, there is issue with the date. The search result looks like this The publication ...
Owais Ahmed's user avatar
1 vote
2 answers
1k views

Sitecore indexing manager is empty without showing indexes

Issue: Sitecore Indexing manager not listing any indexes and got the below error in crawling logs. About the application architecture: We are using Sitecore 9.2 which hosted in On Premises as scaled ...
Thamizh's user avatar
  • 177
0 votes
0 answers
192 views

Solr - sort results based on the distance (lat and long) and search keyword relevance

I am working on the search functionality where I am trying to sort the results based on the distance and search keyword relevance but it is not working as expected. When I try with the search keyword ...
Prathik's user avatar

1 2
3
4 5
14