Questions tagged [solr]

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

Filter by
Sorted by
Tagged with
4
votes
1answer
710 views

Sitecore 9 Installation :: Could not find Solr instance [closed]

I'm following given post for Sitecore 9 Set up on local machine Sitecore 9 set up Got below error on install.ps1 execution even I'm able to browse the Solr URL( https://localhost:8985/solr/ ) ...
4
votes
2answers
1k views

Why is SIF failing to create Solr core?

I am trying to install Sitecore XP9 by following the installation guide as described in Chapter 5 of the Sitecore Experience Platform Installation Guide. After creating a Powershell script as ...
4
votes
4answers
4k views

Value cannot be null. Parameter name: fieldNameTranslator | Upgrade 8.1 update 4 to 8.2 Update 2

I am getting the following error when opening the content editor or loading my site: Server Error in '/' Application. Value cannot be null. Parameter name: fieldNameTranslator Description: An ...
4
votes
3answers
2k 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 ...
4
votes
1answer
528 views

ContentSearchAPI items array relevancy ranking

I'm trying to implement a tagging functionality that allows the content editor to add tags for a specific component and the c# to search for items containing a given set of tags Let's say our ...
4
votes
2answers
777 views

How point SolrCloud in Sitecore configuration?

I'm working on a new project with Sitecore 8.2 update 2 and SolrCloud to provide high availability for Solr. For SolrCloud, I'll have 3 Zookeepers and 2 Solrs but every solution will run on its own ...
4
votes
1answer
967 views

How can I configure Sitecore to prefix all Solr index ids?

We have a single Solr instance that we would like to point to two distinct Sitecore 9.0 Update-2 instances to - instance1.example.com and instance2.example.com. Since they are separate instances, ...
4
votes
2answers
906 views

Solr 6.6 / Sitecore 8.2 Content editor - Value cannot be null

I have read every post on here and every post I can find on this subject on google and I've tried all the tips / suggestions, but no joy. I'm attempting to setup a SOLR 6.6.0 with multiple cores / ...
4
votes
1answer
415 views

How to figure out why I have a sudden spike in traffic between CM and CD servers

My network guys have started asking me about a sudden spike in network traffic that they noticed. For the past 4 days I have had about 5 terabytes go between my 3 CD servers and my 1 CM server, which ...
4
votes
1answer
271 views

Could not find configuration node: marketingDefinitions/funnel/funnelStepTypeResolver

I am trying to upgrade from Sitecore 8.1 update 4 to Sitecore 8.2 update 2. I am on Solr 6.1 and while doing the upgrade we are getting the below error: Could not find configuration node: ...
4
votes
1answer
713 views

How do you stop optimizing sitecore_analytics_index

We have our analytics_index over 150 million documents now (with Solr on a standalone windows server). How can we stop Sitecore from optimizing the index? Solr says optimizing should only be done on ...
4
votes
1answer
223 views

Is the Solr equivalent of Sitecore.Social.Lucene.Index.Analytics.Facebook.config needed when switching from Lucene to Solr?

I'm in the process of migrating indexes from Lucene to Solr for a Sitecore site on Sitecore 8.2 Update 2 (Sitecore 8.2 rev. 161221). I'm disabling the Lucene specific configs and enabling the Solr ...
4
votes
1answer
935 views

Filtering with Solr in Sitecore 8

Need your help in filtering. We have documents tagged to categories as below: d1 tagged to 1 ,3 & 4 and d2 = 2 ,6 & 7 I need to output as below: User selects category 1 and 2 and then ...
4
votes
1answer
894 views

How to query Solr and only return content items that the current user has permissions to view?

I am building a Sitecore 8.1 / Solr 4.10 site. I want to be able to do a general site content query through the web database and only return content items that the current user has permissions to view....
4
votes
1answer
645 views

Installing Sitecore 9 With Solr on Linux

I am having a hard time getting Sitecore 9 (SIF 2.0) installed where Solr is on a remote Linux box. Basically I have removed the steps in the install powershell script that creates the solr cores ...
4
votes
2answers
170 views

Sitecore ContentSearch results order is not same as raw Solr search results

Sitecore ContentSearch is not providing result in the same order like Solr query does. http://localhost:8983/solr/sitecore_web_index/select?indent=on&q=_content:testorder&wt=json we are ...
4
votes
1answer
830 views

Solr with Sitecore 9.1 throwing errors “undefined field local” - how to troubleshoot?

I have Sitecore 9.1 instance with SXA 1.8 and Solr. I am new to Solr but its service and admin site seem to be running ok. However there are a lot of errors in the log of Solr. 40620 2019:01:11 11:17:...
4
votes
1answer
262 views

How to search for items created in the last X days in Content Search tab?

I have a requirement to create a saved search item under our bucket item, that will display all items created in the last X days, where X is 7 by default but client would like to change that. We use ...
4
votes
1answer
322 views

How to use Sitecore SwitchOnRebuildSolrSearchIndex on Solr slave Indexes which are replicated from Master Index

The following is our master/slave configuration by using Solr replication. Here is the image which depicts our configuration: SOLR-master is connected to the CM instance. When the CM rebuilds the ...
4
votes
1answer
282 views

Trouble with Sitecore Linq to Solr and parentheses

I have a Sitecore 8.1 / Solr 4.10 solution. I am noticing that with a complex Linq query that includes a lot of parentheses that sometimes Solr returns no results. But if I remove the parentheses ...
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....
4
votes
0answers
181 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 ...
4
votes
0answers
339 views

Sitecore Index_Update Job Performance

We just updated from Sitecore 8.2 Update 4 to Update 7 and we've started seeing some strange behavior when publishing new items. The issue presents itself in that it takes awhile for newly created ...
4
votes
0answers
908 views

Populate Solr Managed Schema Error

I am getting the 404 error while trying to populate the schema from "Populate Solr Managed Schema". Job started: Index_Update_Collection=sitecore_core_index|#Exception: System.Reflection....
3
votes
3answers
1k views

Solr Start Service not working

I am was trying to install Solr. I have followed all the steps specified. But I am getting an error in power shell like this below.Could you please let me know what must have went wrong. Thanks in ...
3
votes
1answer
462 views

Different indexes between SOLR and Lucene?

I'm having issues with getting my Sitecore 8.2 sandbox to index properly. I've been using SOLR, but on a whim decided to switch over to Lucene to see if I could get the indexing to work. When I went ...
3
votes
3answers
2k views

9.1 Powershell Install Solr Connection Issue

I am running the XP1-SingleDevloper.ps1 and it is choking when trying to connect to the solr url. If I hit https://solr:8983/solr in a browser it comes up just fine. Thoughts on why it isn't able to ...
3
votes
2answers
4k views

How to get MultiList selected items in SOLR search

In a project, I have implemented SOLR search. I am able to get Items from search, based on template name. In a scenario,I have to get items using Search from a MultiList field which are selected. ...
3
votes
5answers
1k views

Same Solr Service for multiple Sitecore instances

Can I use same Solr service to install or use for different vanilla Sitecore 9.0.2 instances? What is the best practice?
3
votes
2answers
2k views

Solr version compatiblity with Sitecore 9

My team is planning to install Sitecore 9. We are using Solr 5.5 version at the moment. Can we use this Solr version? Is this Solr version compatible with sitecore 9 and if we can work with this?
3
votes
2answers
1k views

Setting up SSL for Solr behind a Load Balancer on Azure

I have an Azure Load Balancer in front of two Solr servers in a Master/Slave configuration. This is a Sitecore 9 Update 1 build, so Solr is running SSL. For the CD Servers that will be pointed to ...
3
votes
3answers
822 views

Solr Issues Using Multilist Property on Search Result

I have a multilist field on article items called Categories. In a module I am trying to filter based on one or more items in that multilist field. I can do this if I directly supply the name of the ...
3
votes
2answers
1k views

How does indexUpdateStrategy “syncMaster” behave on Solr with defined root?

We've got a client with a Solr index, the index is updating fine but the frequency of updates seems a little high - I wondered (before digging in to this myself) if anyone knew exactly how the ...
3
votes
1answer
253 views

What's wrong with this SwitchOnRebuildSolrCloudSearchIndex index definition?

I'm trying to get a custom index to work on Solr cloud (searchstax) as described by the "Switch SolrCloud indexes section of this page) on and I'm getting the error "Could not create instance of ...
3
votes
1answer
4k views

Solr Error - Error opening new searcher

Please let me know if you need any more information from my side. Attached Screenshots. I am new to Solr and Solr Indexing. Getting error on the master index after opening the Solr URL. I have ...
3
votes
1answer
1k views

While installing Sitecore 9, the SOLR schema is not updated

When trying to install Sitecore 9, I am getting the following error : [UpdateSolrSchema]:[Authenticating] http://habitat9.sc/sitecore/admin/PopulateManagedSchema.aspx?indexes=all Install-...
3
votes
1answer
1k views

Sitecore Search API not searching List of Guids Unsupported expression node type

I have created an index field called "facetCategory". public class IndexResultModel : SearchResultItem { [IndexField("facetcategory_sm")] public IList<Guid> FacetCategory { ...
3
votes
2answers
341 views

Is there possibility to use Solr in Sitecore PaaS?

Clients wants to go full PaaS with Sitecore 9 and Sitecore Experience Commerce 9. We have existing solution which was built with Sitecore 8.2 and Sitecore Commerce 8.2.1 with Solrand it's deployed as ...
3
votes
1answer
2k views

SOLR 6.5.1 will not run with Sitecore as a service on Windows machine [closed]

Got SOLR setup and working on my local machine with all my cores installed. Everything is functioning as intended when starting SOLR from Command Prompt via a "bin\solr start" command. However, I ...
3
votes
1answer
132 views

IndexField attribute not working after upgrade to 9.2 on Solr

We upgraded our solution from 9.0.2 to 9.2 and now our search queries using a class that overrides SearchResultItem and having properties that use an [IndexField] attribute to set the name of field in ...
3
votes
2answers
206 views

500 error page for Sitecore Start Up with no Solr or mongo connected

I'm trying to configure a 500 error page.h I have successfully done this for handling exceptions once the application is already up and running. However I'm having an issue where if Solr Or MongoDB ...
3
votes
2answers
6k views

SolrNet.Exceptions.SolrConnectionException: The operation has timed out

After sitecore upgrade from 7.2 to 8.2u3 and solr from 5.4.1 to v6.1, below solr timeout starts to happen in one server, works fine in local machine setup. We have increased from 125500 (on local ...
3
votes
1answer
84 views

What is the logic for determining language-specific Solr index field names

I am writing some optimised search code which talks directly to Solr (uses HTTP requests and parses JSON responses). I am skipping the ContentSearch Sitecore API altogether. Some index fields are ...
3
votes
3answers
236 views

SOLR connection string for ARM template

I am installing Sitecore using the ARM template and using SOLR as a search service. Now I have configured SOLR as master/slave model. While installing Sitecore, which connection string should I ...
3
votes
1answer
1k views

Solr log: Multiple values encountered for non multiValued field _basetemplates_s

I'm on Solr 4.10.4, Sitecore 8.1 160519. The configuration of the custom index is <field fieldName="_basetemplates" returnType="string" multiValued="true" storageType="yes" indexType="untokenized"...
3
votes
2answers
946 views

“Solr start” resets the schema and solrconfig file

As per Sitecore documentation for setting up Solr, I have generated the schema.xml (using managed-schema file) and updated solrconfig.xml. I copied both the files to the conf folder of the all cores ...
3
votes
1answer
212 views

Is it safe to add our custom indexes to optimize agent?

There is a Sitecore.ContentSearch.Tasks.Optimize agent defined in Sitecore.ContentSearch.config file. Definition looks like this: <agent type="Sitecore.ContentSearch.Tasks.Optimize" method="Run" ...
3
votes
1answer
424 views

Searching the date array

I have the following setup: I'm indexing Sitecore items (Employee) in Solr I have the computed field "checkins" of type stringArray set in the index Checkins is list of datetime values I get from ...
3
votes
1answer
502 views

Handling special characters in SOLR search for sitecore 9.1

For a Dutch company, we implemented Sitecore SOLR search (Sitecore 9.1 and SOLR 7.2.1 ) with a requirement for the user to be able to search words with special Dutch characters for example if the user ...
3
votes
2answers
301 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-...

1 2
3
4 5
11