Questions tagged [solr]
Anything related to Solr indexes: querying, configuring, maintaining, ...
566
questions
0
votes
0
answers
20
views
Underlying core creation failed while creating collection: gettingstarted [closed]
ERROR: Failed to create collection 'gettingstarted' due to:
Underlying core creation failed while creating collection: gettingstarted
ERROR: Failed to create collection using command:
[-name, ...
0
votes
1
answer
14
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://...
0
votes
1
answer
43
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 ...
0
votes
0
answers
55
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 ...
1
vote
1
answer
62
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 ...
1
vote
1
answer
49
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,...
0
votes
3
answers
62
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 ...
0
votes
0
answers
64
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....
0
votes
0
answers
38
views
SOLR on Azure App Service - known issue reference
We are experiencing index being locked sometimes. It doesn't happen often and restarting SOLR service is the only workaround.
We found the following thread that people mentioned it is a known issue.
...
0
votes
0
answers
22
views
Sitecore Fuzzy search creates malformed Solr query
I'm trying to implement Fuzzy search but running into issues when special characters are in the search. E.g. searching for a part number 1234546ABC-TG results in the hyphen getting escaped (1234546ABC-...
0
votes
0
answers
37
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:
...
0
votes
0
answers
26
views
Issue with new items showing in mutli-list search when items are already selected
We have an issue with our testing environment where we can no longer see items in the multi-select list if too many are added on the right-hand side.
We are using Sitecore 10.0.1 and Solr.
I've raised ...
1
vote
1
answer
65
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 ...
0
votes
1
answer
50
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 : ...
0
votes
2
answers
143
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 ...
0
votes
0
answers
43
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 ...
0
votes
0
answers
44
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 ...
0
votes
1
answer
79
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 ...
0
votes
1
answer
50
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 ...
0
votes
0
answers
22
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 ...
0
votes
0
answers
28
views
SolrContextCommand.DoesIndexExist
I have a problem with crawling after installing Sitecore commerce. SOLR works, mom is set in CommerceMinions application:
"$values": [
{
"$type": "Sitecore....
2
votes
1
answer
96
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 ...
1
vote
1
answer
23
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 ...
0
votes
0
answers
73
views
Configure remote solr server for Sitecore 10 running on docker container
I have Sitecore 10 instance running on docker. It uses a default solr container, indexing also works fine. But I want to use a remote Solr server (I have configured solr search service in azure). I ...
0
votes
0
answers
21
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 ...
2
votes
3
answers
96
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 ...
0
votes
1
answer
155
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....
3
votes
2
answers
255
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 ...
0
votes
1
answer
54
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 ...
0
votes
1
answer
70
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-...
0
votes
2
answers
76
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]...
1
vote
2
answers
80
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 ...
0
votes
0
answers
38
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 ...
0
votes
2
answers
211
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 ...
0
votes
0
answers
45
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 ...
0
votes
1
answer
35
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 , ...
2
votes
1
answer
355
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
275
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
34
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 :
...
0
votes
3
answers
110
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
0
answers
50
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 ...
0
votes
1
answer
293
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
11
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
0
answers
43
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
1
answer
45
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
129
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
54
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
1
answer
53
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
117
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
1
answer
62
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 ...