Questions tagged [solr]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
12 views

Unwanted Type string appended in Computed Index field

I am creating computed index field for a Multilist field and want to return the items as String in a comma separated list. However after indexing the Solr, an type text is getting appended to the ...
2
votes
3answers
666 views

What is the fix for solr error 'undefined field _indexname' after building custom index in sitecore (v9.1.0)?

I created a new custom index named CUSTOM_SERVICES_INDEX using this command: C:\solr\solr-7.2.1\bin>solr.cmd create -c [custom index name] (cmd as administrator) then I created the config file ...
0
votes
0answers
46 views

Moving from Solr to SolrCloud

We are currently working on a Sitecore project where we are using Sitecore XP 9.0.2 and Sitecore XC 9.0.3 with Standalone Solr 6.6.2 As we are growing in terms of user base, we are looking to ...
0
votes
1answer
39 views

“Lock held by this virtual machine” exception with Solr 6.6.1

For a customer i created a solution based on CMS Sitecore 8.2.7. The architecture is hosted on MS Azure infrastructure and basically consists of a Content Management VM (Windows Server 2016), two ...
1
vote
1answer
123 views

Sitecore 9.3 with solr - Computed field is not showing up in index, nor is ComputeFieldValue executed

I think I may be missing an important piece of information, but I am currently trying to get a computed field to show up in my Solr index. I did not have any issues doing this in Sitecore 7.5 with ...
1
vote
1answer
42 views

PowerShell script to get data from Solr and Edit in Sitecore

Is there a way that i can Query Solr to get data based on a template. Then foreach of that data do a Sitecore Getitem and Update a field's value.
1
vote
2answers
90 views

Working with chinese language with the SXA Search Component

We have an issue, where we have content in multiple languages, and we are doing a basic keyword site search using the SXA Search Component. As far as I can tell (from the search.log), the SXA Search ...
1
vote
2answers
157 views

Solr Cores Locking. v 9.0.2

We have our SOLR server running on an Azure App Service. Occasionally the cores will lock. This can be resolved by a restart but I am hoping that there is some configuration that can help to prevent ...
0
votes
0answers
6 views

class SolrContentSearchManager in namespace Sitecore.ContentSearch.SolrProvider si deprecated

Recently i upgraded sitecore instance from 8.1 to 9.3. SOlr5.4.1 set up was working fine with sc8.1, I was using NINJECT as DI. now after upgrading , SOlr is causing at DI level, complaining that ...
0
votes
0answers
34 views

Switch on rebuild for Commerce Cores

I am using two Solr Cloud Instance with two Zookeeper and indexed Commerce Indexes (CustomersScope, OrdersScope, CatalogItemsScope) in it. And now I want to apply Switch On Rebuild for that ...
0
votes
1answer
47 views

Need to get the Search response time

I need to get the time taken for each response time for each search that we are making from the Sitecore. I've tried changing the log configuration of Search Log to Debug mode but the log doesn't have ...
0
votes
2answers
98 views

How to filter solr suggestions only from particular path

I recently tried solr autosuggest search in my local, Steps I followed : Added configuration in master in sensoft_master_index\conf\solrconfig.xml Restarted solr8.1 service in services in C# code, ...
7
votes
1answer
1k views

Wildly inconsistent index data after rebuilds

SC 9.1 SwitchOnRebuildSolrSearchIndex is enabled SOLR 7.2.1 I have 120k items in Sitecore, so I have a good bit of data to sample. When I rebuild my web index, the total number is consistent. But ...
0
votes
1answer
33 views

Restricting Solr Data if no pageSize is provided

Currently wcf service returns 10 Million records from solr when queried and no page size is specified. How can i change the default page/row size when no page size is specified? Where is this setting ...
0
votes
1answer
39 views

Solr JVM-Memory Spikes using List Manager Upload

Sitecore 9.2 Solr 7.5 JVM-Memory 1024mb I have a CM-CD environment for production and I have noticed any time when uploading a csv via list manager, JVM-Memory spikes to - and maintains a range of - ...
0
votes
0answers
23 views

Sitecore not resolving index properties to corresponding solr field names (with suffix)

I have a single line field in Sitecore, (I see same issue for other field types too). I am trying to do a SOLR search on this field. I created a search result class public class SearchResult : ...
0
votes
0answers
31 views

Sitecore Spell checker neglect search scope

I'm using Sitecore 9.1 and SXA 1.8, I'm using Solr spell checker feature to fetch suggestions for a SXA search box that I use, the source of the suggestions is the field you specify in the ...
1
vote
1answer
157 views

How to download and install JRE with PowerShell for Sitecore Solr installation

The script from Jeremy Davis Downloads, installs, adds SSL and sets up Solr as windows service. However, JRE is required for Solr and JRE needs to be installed manually. Is there anyway to download ...
0
votes
1answer
36 views

Nullable DateTime not correctly being queried in Solr after upgrade to 9.2

I've inherited a Sitecore site that I'm upgrading from 8.2 to 9.2. I've noticed that the query being built in 9.2 is slightly different to the one in 8.2. There are two relevant fields that get ...
2
votes
3answers
539 views

Issue in SXA search scope: no results due to searchable_b:(True)

I am using SXA in Sitecore 9, I have created simple search scope with below query: template:{cbb0f1aa-1a19-4c0a-a897-49af144cb801};+location:{3F38A230-25BB-4DBA-B9D3-2CE94F842072} From UI there are ...
0
votes
2answers
33 views

What is the functionality behind in Query and ContextFilterQuery in SuggestParameters class?

I'm working on the solr suggest module and I want to know about the Query and ContextFilterQuery in SuggestParameters class. Can anyone explain it? public class SuggestParameters { public ...
1
vote
1answer
145 views

How to use Sitecore API to return result which removes Solr stopwords?

In Solr GUI I am seeing that when I am in the analyzer tab, it is removing stop words and returning results. But when I try to retrieve same result using the Sitecore search API it is not removing ...
0
votes
1answer
71 views

No connection could be made because the target machine actively refused it 127.0.0.1:8983

I have solr 7.5 working and am able to hit secured admin panel https://solr75:8983. My connection string settings in index worker and site root are set to https://solr75:8983, my hosts file has an ...
0
votes
0answers
23 views

How to exclude the results based on some templates in Solr/Suggest search?

I have a scenario that, I want to exclude some templates(Items that are based on these templates are need to be excluded) from solr Suggestion/autocomplete results. I did set a context field as ...
0
votes
1answer
64 views

Error indexing Polish and Czech language version in Sitecore 9.1 Initial Release with Solr 7.2.1

We seem to be getting errors similar to: [Index=sitecore_master_index] Crawler : AddRecursive DoItemAdd failed Remote error message: ERROR: unknown field 'description_t_cs' Remote error message: ...
4
votes
1answer
1k views

Custom Solr Fields in Sitecore 9 and Solr 7.2.1

I am converting my custom index fields from Sitecore 8.1. Previously, I would declare them like this: <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www....
1
vote
2answers
111 views

Sitecore 9.3 Installation issues - SSL/TLS - Solr 8.1.1

I am trying to install Sitecore 9.3 using Solr 8.1.1, I am facing issues with Transport Layer Security [TLS 1.2] Error Message - The request was aborted: Could not create SSL/TLS secure channel. When ...
1
vote
2answers
139 views

Limit search result hits to a specific number with facets to match limited result set

I have a requirement to limit search results to an arbitrary number in a Site Search implementation. Is there a way to accomplish this in a query and get accurate facets relative to the arbitrary ...
0
votes
0answers
39 views

ContextFilterQuery is not working Solr suggest [duplicate]

I recently tried Solr autosuggest search in my local, Steps I followed : Added configuration in master in sensoft_master_index\conf\solrconfig.xml <requestHandler name="/suggest" class="solr....
0
votes
1answer
43 views

Solr Suggestor is not working for sitecore master index

I recently tried solr autosuggest search in my local, Steps I followed : Added configuration in master in sensoft_master_index\conf\solrconfig.xml Restarted solr8.1 service in services in C# code, ...
0
votes
0answers
20 views

How to configure Solr to treat European English language the same as international English

I'm configuring a few sites within my solution to use "European English" (en-150 yes, it's weird, but it is a valid culture!). Does Solr treat all en- languages the same, or will I need to set up ...
5
votes
1answer
373 views

CreateAlias: Setting alias 'sitecore_custom_web_index_primary_alias' to collection 'sitecore_custom_web_index' failed

I have configured a High Availability for SOLR solution with 2 x SOLR 3 x Zookeeper While I was building the indexes everything went well, except for the following 7816 05:28:53 ERROR ...
6
votes
3answers
9k views

Error when rebuilding a Solr index: unknown field '__display_name_t_cs'

I am getting this error when trying to rebuild my master index in Solr: Job started: Index_Update_IndexName=sitecore_master_index_solr|#Exception: System.Reflection.TargetInvocationException: ...
0
votes
1answer
45 views

Solr field level search

I'm working on the site search module where the user searches for a particular item. Currently, the site searches and matches only the item name. But I'm trying for searching the keyword in item ...
0
votes
1answer
51 views

Could not create instance of type: Sitecore.ContentSearch.SolrProvider.SolrSearchIndex. No matching constructor was found

I'm trying to set up a local instance of an existing Sitecore 9.2 site. It's using Solr 7.5.0, and I set it up through SIA. When I try to load my site I get the following error: Could not create ...
0
votes
1answer
20 views

How to get the __content index field value in solr search

I just created the site search module where I need to get all the pages that the user is looking for. I'm able to get the item name when content matches the search term, But also I need the content ...
0
votes
0answers
30 views

sitecore solr search indexing getting stopped

We are seeing Solr master and web index updates are getting stopped randomly in mid of the day. I tried one approach that is mentioned in this answer. Updated the master index strategy to use ...
1
vote
0answers
43 views

SXA Search Boosting Throws Error

I have configured the search scope for SXA (Sitecore 9.3) and it works as expected. However, when I try to add boost configuration to the search scope it throws the below error. Invalid Method Call ...
6
votes
1answer
558 views

Migrating Solr Core indexes to Azure Search indexes

I am midst of migrating a Sitecore project to Azure Paas offering. I've completed the deployment of the files (ie. dlls, configs, css, js, etc) and were able to do a complete unicorn sync. That looks ...
2
votes
1answer
93 views

Search on custom solr index

I am trying to search on a solr core which contains static data without any Sitecore details. <doc> <str name="_property_text">1</str> <str name="_itemnumber_string">1250000&...
3
votes
1answer
85 views

Querying List<Coordinate> from Sitecore to SOLR

I have defined a Sitecore index field as below [IndexField("_coordinates")] public List<Coordinate> DealLocations { get; set; } When I execute a query like queryable.OrderByDistance(s => ...
0
votes
1answer
36 views

Boost not activating in Sitecore Solr query

I've got some code that's generating a predicate for Solr search as follows: foreach (string query in querySplit) { contentPredicate = contentPredicate.Or(item => item.DocumentTitle.Matches(...
0
votes
2answers
32 views

Integrating Solr with FrontEnd JS frameworks

Anyone has thoughts on integrating Solr with a front end JS framework to perform search queries directly on Solr. What are the disadvantages/risks of using this approach vs a traditional approach of ...
4
votes
2answers
592 views

Programmatically adding items to a custom Solr Index

I'm trying to add some items to a custom Sitecore Solr index Programmatically via the Sitecore Content Search APIs. The items I will add won't reside in Sitecore so the code below is just a test for ...
3
votes
2answers
78 views

Querying DropLink field from Sitecore to SOLR

In my template, I have a field called Category which is a type of DropLink and not MultiList. When I tried to find it in SOLR, I got this field as below. "category_sm":["{951063A6-0BBA-484F-8CAB-...
4
votes
0answers
91 views

Sitecore Content Search API returns expected results with Lucene as search provider but not with Solr

I'm currently writing a service that needs to integrate with Eventbrite to store external event information as items in Sitecore. We run a Sitecron job every 4 hours to pull in and update the ...
13
votes
4answers
4k views

Install-SitecoreConfiguration xconnect-solr.json - Error Invoke-ManageSolrCoreTask : Missing required parameter: name

What: I am trying to install sitecore XP1 architecture. I already have a signed certificate. My issue comes when I try to configure sitecore on my solr. Sitecore 9.0.1 rev. 171219. SOLR 6.6.4. ...
10
votes
2answers
15k views

Unable to start Solr service on Windows 10 / Windows Server 2016 x64 [closed]

I'm trying to install Solr service as described here. I use NSSM prelease build 2.2.4-101 to 'avoid an issue with services failing to start', but after installation the service cannot start anyway: ...
5
votes
1answer
94 views

Sitecore 9.2 problem with Solr query for single-reference fields

I've upgraded from sc90 to sc92 and faced the following problem with field types in solr: sc90: sitecore field type: DropLink solr doc: "accommodation_type_s":"6f75a5e4380448c7b95820e14b4bab12" ...
0
votes
0answers
132 views

SolrException: Cannot unload non-existent core

I have just installed Sc9.3 using SIA and browsed the Solr page. In the Logging section, I see all these errors. I'm able to browse the CMS though. How can I fix these errors or can they be ignored. ...

1
2 3 4 5
9