Questions tagged [solr]
Anything related to Solr indexes: querying, configuring, maintaining, ...
677
questions
0
votes
2
answers
161
views
The IndexSchema is not mutable - Sitecore Index Rebuild
We are using Sitecore 10.2 with Compatible SOLR 8.8.2. In our case we need to add two custom field in SOLR Indexing. By default SOLR using ManagedIndexSchemaFactory. If we add any new custom field in ...
0
votes
0
answers
29
views
CPU Utilisation 100% after reindexing [duplicate]
We are experiencing CPU utilization going to 100% after starting to rebuild the indexes in Sitecore.
Earlier, it worked fine but there was a server outage and since then, we are experiencing the HIGH ...
0
votes
2
answers
137
views
AppData logs contain lots of Solr Query entries - can these be reduced or removed?
I've been trying to diagnose some production websites and noticed that my Sitecore AppData logs are littered with Solr Queries INFO logging messages. Can these be turned off? I looked through all of ...
0
votes
2
answers
999
views
Solr query error - URI Too Long [duplicate]
My query from Sitecore to Solr is too long and its giving error URI too Long in the logs. Is there any setting on Sitecore or Solr side that can allow any query of any length ?
I am using Sitecore 10 ...
1
vote
1
answer
77
views
Multiple Master_Index entries are coming on job queue on full reindexing the Sitecore_Master_Index
At the time of sitecore_master_index rebuild (full reindexing or on update) we can see multiple sitecore_master_index entries in the index job queue. Can anyone explain the reason for this?
url : ...
1
vote
1
answer
192
views
Sitecore Horizon failure on PopulateHorizonSearchSchema : SitecoreUrl
Sitecore is installed, but Horizon keeps failing on the last step.
Is there something I should be checking to prevent this step from failing?
The error I get:
Install-SitecoreConfiguration : Error ...
3
votes
1
answer
236
views
In solr Master-Slave configuration custom indexes are getting out of sync sometimes in one of the slave servers
In our production environment, we have Master-Slave SOLR server configuration. We have 2 SOLR slave servers and configured SOLR load balancing URLs in prod CM and CD servers.
Right now we are facing ...
1
vote
1
answer
172
views
Solr Indexing issue in Sitecore 10.2
I am using Sitecore 10.2 with SXA and I am using sitecore_sxa_web_index index. I have multiple articles which I am indexing. I am facing below issue:
Suppose I have 10 articles and when I manually do ...
0
votes
1
answer
57
views
Results not filtering by language
I have an item which has 2 language versions - English & Chinese.
This Search query is returning both versions when the expected is only English.
Not passing the languageCode so by default it is ...
0
votes
3
answers
369
views
Solr - How to fetch data by page
There are no results when I apply pagination to the query. But when I comment that code, I get results.
Search log without pagination:
INFO Solr Query - ?q=: AND
val:__boost&start=0&rows=...
0
votes
1
answer
263
views
Solr query not returning search results
I can see all the records in the Solr portal when I run the query. Here is the data of one product.
https://localhost:8983/solr/stratum_products_master_index/select?q=_templatename%3A%22product%...
0
votes
1
answer
236
views
Solr Error : ["undefined field query"]
We have upgraded our Sitecore instance from 8 to 9.0.2 version. In one of our component on datasource level we are using query like below.
query:./ancestor-or-self::*[@@templatename='Website']/Local ...
0
votes
3
answers
457
views
Solr - Recommended way to search by filters
I'm trying to build a generic Search method GetSearchResults that would fetch results from Solr.
Sample use Case: Get a list of all products where the searchTerm can be in the Title OR Description ...
2
votes
1
answer
172
views
Sitecore Solr - Content Editor search returns no results but Experience editor and context search works fine
We are having the following issue. Please let me know if you have come across a similar issue or know of a potential solution.
In Sitecore Content Editor, all search queries works fine if logged in as ...
1
vote
1
answer
222
views
Solr - The Content field in SearchResultItem is always null
Using Sitecore 10.2 with Solr 8.4.0.
I have Product pages which inherit from a template - Product Details.
This template has the following fields:
Title - Rich Text
Description - Rich Text
Category - ...
2
votes
3
answers
541
views
Solr stripping out the HTML from Rich Text Field while indexing
I want to prevent stripping out the HTML from my one of the Rich Text Field.
I have the following field reader by field name in my index configuration file in place under the mapFieldByTypeName ...
1
vote
0
answers
48
views
How to skip the search Special Character in Sitecore SXA Search
I have worked on the Sitecore SXA search and Version is 10.2. Created respective Solr core and configuration for search then did the Indexing. After that browse the web page and type %,$ (all special ...
0
votes
1
answer
117
views
java.nio.file.NoSuchFileException: D:\home\site\wwwroot\server\solr\sitecore_web_index_sec\data\index\_2yh.si [duplicate]
We were using Sitecore 10.2 and Solr 8.8.2. We could see this error again and again. What is fix for this error?
java.nio.file.NoSuchFileException: D:\home\site\wwwroot\server\solr\...
2
votes
1
answer
240
views
Get Sitecore Items based on the dates by using graphql
I have a requirement to fetch the news items in between the fromDate and toDate. fromDate and toDate need to pass as a parameter so i am unable to forming the query. for your reference please find the ...
1
vote
1
answer
252
views
Issue when populating managed schema for our Sitecore Solr index
I'm am getting an issue when trying to rebuild the Sitecore Solr index by clicking on populate managed schema and rebuild.
sitecore_core_index is already locked. The most likely cause is another Solr ...
0
votes
0
answers
105
views
Search.log filled with queries for _name=[fieldname] and _templatename="Template field"
I am trying to locate where a bunch of Solr queries are coming from. The log file has numerous requests similar to:
16064 15:59:57 INFO Solr Query - ?q=_name:(_lastestversion)&rows=0&fq=...
1
vote
1
answer
191
views
Sitecore 10.2 XM Azure PaaS not able to connect to Remote Solr Server which have Self Signed Certificate
I have setup Sitecore XM 10.2 in Azure PaaS and while connecting with Solr getting the below error.
ManagedPoolThread #1 16:56:31 WARN IsOnline: Test connection has failed with an exception. Type: '...
1
vote
1
answer
90
views
Synthesis Solr search not returning strongly typed implementations after upgrade
I'm upgrading a Sitecore 9.3 solution to Sitecore 10.2. The solution uses Unicorn, Leprechaun, and Synthesis for ORM. As part of the upgrade, Synthesis was updated from 9.1.0.0 to 9.1.6.0.
Everything ...
0
votes
0
answers
405
views
Solr schema error 'unknown field 'id'
When trying to populate a solr index we are running into the following error on our local dev instances.
courses_master_index_shard1_replica_n1: org.apache.solr.common.SolrException:org.apache.solr....
-1
votes
1
answer
105
views
Solr results not showing all content items in portal
Using Sitecore 10.1.2
This is a fresh instance and I have created a few templates and some related content items.
I have rebuilt the indexes for sitecore_master_index & sitecore_sxa_master_index.
...
1
vote
1
answer
62
views
Solr error on adding patch for fallback language
I am using Sitecore 10.2 with SXA.
I have added a patch file for fallback language in solr. When I deploy this patch file,on CM server it works fine but on CD server I get the error. Could not find ...
1
vote
0
answers
74
views
Solr default search indexes exception: IDocumentBuilderOptions of wrong type for this crawler
We are in the process of upgrading from Sitecore 10.0.1 to Sitecore 10.3. We used Azure search which is no longer supported. Following the installation process, and setting up the default indexes ...
1
vote
0
answers
54
views
Facing issues while Enabling Application Insights on a SOLR App Service
I have installed Solr as an App Service in Azure by following the below articles.
https://www.iamashishsharma.com/2020/11/install-solr-as-azure-app-service.html
Now I am setting Application Insights ...
1
vote
1
answer
501
views
What is the difference between Populate Solr Managed Schema & Indexing Manager features
Please help me understand these features.
What is the difference between these two features in the control panel - Populate Solr Managed Schema & Indexing Manager?
When to use which?
How often ...
0
votes
0
answers
293
views
Error in Solr installation on Sitecore 10 SIA
I am getting below error in Solr installation using SIA. Access denied on copying solr files to installation directory from Temp folder. I am using admin access. Please advise.
Error Logs:
[---------...
0
votes
1
answer
175
views
How to run SOLR service on a single Port in the Azure app service?
We host the SOLR as an app service in the Azure PaaS. It seems that SOLR runs on the different port every time.
Is there any way to restrict the SOLR to run on a single port only?
0
votes
0
answers
137
views
Sitecore.Xdb.Collection.Failures.AdminActionConflictDetectedException: Conflicting Admin action detected
We were trying to rebuild the XDB index in xConnect Index worker webjobs.
We are getting the following error when we run the rebuild command Sitecore.XConnectSearchIndexer.exe -rr.
[Error] An error ...
0
votes
0
answers
77
views
xConnect CLI - contact purging and interaction purging not working correctly
Estimate of interactions after the data purge is still showing the same count and the data purge of interactions is completed but the progress is ‘0’.
I have performed the data purge on the ...
0
votes
0
answers
112
views
Filter Solr Facet by language
I am trying to create facets in a multi language solution and facing couple of problems.
How to filter facets by language selection. If you see the screenshot below, the facets are getting displayed ...
1
vote
0
answers
86
views
Facets are not loading for custom Solr index
We are working on a new site and have created a new index for it. This index is similar to sitecore_sxa_web_index except for the root path. Instead of /sitecore, we have /sitecore/content/<Tenant ...
1
vote
1
answer
172
views
SolrCloud Base ConfigSet does not exist: sitecore_content_config
I run Sitecore 10.2 with SXA in containers and I deleted all my SOLR data, SOLR Cloud have 0 collections and only a default configset in ZooKeeper.
The solr-init containers give the following error on ...
4
votes
1
answer
247
views
ERROR Solr Error : [undefined field content_type] - upgarding from Sitecore 8.2 to 10.1 and from Lucene to Solr
I'm working on a Sitecore upgrade from 8.2 to 10.1, which includes replacing Lucene with Solr. I have a content listing page that allows filtering by content type as well as many other fields - these ...
2
votes
1
answer
325
views
Add Custom Fields in SOLR
I am converting the Lucene Search to SOLR while migrating the project from Sitecore version 8.2 to 10.2.
In the current Sitecore version 8.2 of the project Lucene is implemented. I have updated the ...
3
votes
2
answers
376
views
Sitecore 10.2.1 (pre release) error loading hook
We are upgrading from 9.1 to 10.2.1 (pre release) and we're seeing this error when trying to load the CM instance:
11608 17:56:05 WARN Could not find constructor in ReflectionUtil.CreateObject: ...
1
vote
1
answer
147
views
Where to change SSL Thumbprint in Solr [closed]
As I need to change the SSL Thumbprint in Solr configuration. I am new to Solr configration. Please help me to get the related configuration in Solr.
Thank you
0
votes
1
answer
205
views
Solr - text and string for single line text [duplicate]
Is it possible to have both a string and text index field for the same single line text field? I have tried adding my field to the DefaultIndexConfiguration config but it just takes on or the other.
0
votes
1
answer
52
views
Value cannot be null. Parameter name: fieldNameTranslator - but Solr indexes available and build successfully
I have a new Sitecore 9.0.1 instance that I installed through SIF. It was installed using Lucene so I needed to install Solr and update the configuration. I went through the following steps to change ...
2
votes
2
answers
284
views
Refreshing single document in ContentSearch/Solr index using IndexCustodian?
I have a working custom index configured, it includes some custom fields and has specifically included fields and templates to keep it light. It uses the default SitecoreItemCrawler. I'm on 10.1 ...
0
votes
1
answer
102
views
Accordion item type template items not indexing in Sitecore search as well as Solr search
I am working on SXA search in Sitecore I found something strange, content or data of composite rendering child items like accordion item templates types items are not indexing.
I added _searchable ...
1
vote
3
answers
127
views
Broken local environments - media library search, experience editor, can't rebuild index / indices
Three local Sitecore environments have several core functionalities that don't work as expected despite having little or no recent changes.
Media library search fails giving the error message: "...
1
vote
3
answers
95
views
Is it possible to use bucket items on more than one page?
We have an Item bucket of News articles created for one of our client websites. We want to display those items on the News page and Press Release page since the content is somewhat the same.
We are ...
3
votes
1
answer
237
views
Can we exclude indexes to check in the /healthz/ready probe used in Sitecore Docker containers or Sitecore Managed Cloud?
In Sitecore Docker implementations and Sitecore Managed Cloud implementations, containers have a liveness probe that determines whether the Sitecore instance is ready and alive. In cases where it ...
0
votes
2
answers
75
views
How to get dynamic Summary or short description from Solr index
I am constructing a listing page by querying Solr Index where I am getting
[Title], [Summary], [Published Date], [Body] etc.,
The Solr index is returning all the indexed fields and so far so good. ...
1
vote
1
answer
292
views
SOLR Index: needs to show field although it is null. Also can we have actual itemid instead of guid in index fields
We are building some specific indexes for third party and they have specific requirement.
Always needs to have all fields, so if field is null then they want field with empty ("") value.
We ...
3
votes
3
answers
737
views
Define computed index fields for a specific index
I'm using Sitecore 10.2.
I want to define a custom computed field but I need it to be added to a specific index only.
I was able to add the computed field globally as below, but I need to specify it ...