Questions tagged [solr]

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

Filter by
Sorted by
Tagged with
4
votes
1answer
143 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
184 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
258 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
0answers
32 views

Atomic update of a SOLR document. Updating fields on document instead of full reindex of document

SOLR has a feature for doing partial updates of a document called Atomic Updates. The SOLR documentation has this example: { "id":"mydoc", "price":{"set":99}, "popularity":{"inc":20}, "...
4
votes
1answer
100 views

How to add externally stored PDF documents to my existing custom index

using Sitecore 8.2 update 4 and SOLR 6.6.0. Currently using a custom crawler to index database records. I have a requirement to now index the actual pdf content the database will house a http://path/...
4
votes
0answers
211 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
821 views

XConnect IndexWorker unable to connect

So after a clean install of Sitecore, I've been trying to get an app working with xConnect, but when I'm running that I'm getting the following exception in my code: No connection could be made ...
4
votes
1answer
289 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 ...
4
votes
0answers
575 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....
4
votes
0answers
606 views

Sitecore Solr index FieldNameTranslator is null

I am currently playing around with Sitecore indexes - both Solr and Lucene. I have made my own custom index and it works fine for Lucene, but I cannot get it to work with Solr. My problem is that ...
3
votes
3answers
1k views

Which server(s) type(s) should Solr be installed on?

Found this super helpful (How to switch Lucene to Solr), but I'm still not clear on which servers Solr needs to be installed on in a multi-server environment. Any help would be appreciated. Thanks!
3
votes
3answers
1k 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
1answer
415 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
2answers
182 views

How to increase Solr JVM memory

Sometimes in the development or other environments (QA,STG,PROD), it is required to increase the size of JVM (Java Virtual Machine) memory. How can we increase the JVM memory? The size is of this ...
3
votes
2answers
458 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
5answers
787 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
1k 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
3answers
11k views

How to query Solr with spaces and slashes in the filters?

I have a Sitecore 8.1 instance using Solr 4.10. I have a custom field in my Solr index called read_roles. It is a list of Sitecore roles that can read a given item. Here is an example of what that ...
3
votes
2answers
465 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
2answers
814 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
747 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
2answers
260 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
3answers
483 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
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
505 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 ...
3
votes
1answer
472 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
3answers
3k 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 ...
3
votes
2answers
180 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
451 views

All search indexes missing

Recently created a Sitecore PaaS instance associating with Solr IaaS, The Index Manager Console looks to be empty. What is wrong here !
3
votes
1answer
489 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
747 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
149 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
379 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
2answers
570 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 / ...
3
votes
1answer
752 views

Object reference at application initialize after changing to solr search provider

i encounter this error after changing my search provider from lucene to solr. Some details: Sitecore 8.1 Update 1 Solr 5.2.1 Followed sitecore KB article https://doc.sitecore.net/...
3
votes
1answer
72 views

Error while upgrading sitecore from 7.5 to 8.0

While upgrading sitecore from 7.5 to 8.0. I am facing following error. It seems to be related to solr. Is there something I am missing here?
3
votes
2answers
389 views

Sitecore 8.2 Update 1, Using SOLR for both CMS search and Web search

Can SOLR be used for Sitecore search and website search with latest release 8.2.1. the solution needs to be deployed on Cloud Is it required to have Coveo and SOLR both in order to implement search ...
3
votes
2answers
297 views

Why would SearchResultItem.Paths be null?

I am using Sitecore 8.1 with Solr 4.10 doing a general site search. I have a repeater on my search results page and I am binding the results to that repeater. For some reason in my QA environment I ...
3
votes
1answer
317 views

Sitecore datetimecollection computed field issue

We've solr configured for our 8.2 solution. Recently, a new computed field has been added to the schema. This field is a datetimecollection field which has list of datetimes. Here is the code for it....
3
votes
2answers
1k views

Switch to Solr - getting Unknown Field

Using Sitecore 8.1 Update and Solr 6.0.1 After switching to Solr, I am having indexing problems. Sometime the index rebuild works, and sometimes it fails with a variety of: ERROR: [doc=sitecore://...
3
votes
1answer
267 views

Different instance of solr for staging and production

Is it possible to have different instance of Solr - one pointing to the staging website while other pointing to production website while the CMS sytem is common to both Solr instance. I am not ...
3
votes
1answer
120 views

Migrate sitecore 8.1 from lucene to Solr 5.x issue

I am trying to swap lucene with solr in our project (I use this cool guide How to switch Lucene to Solr) But I faced an issue. All except these two fields work fine. Part of Lucene's config. <...
3
votes
1answer
329 views

SOLR search field type of “textCollection” and “Coordinates” are not generated in schema.xml when using SXA

Sitecore 8.2.4 SXA 1.4 I have configured solr with all required installation and configuration outlined by the Sitecore Documentation site. I have enabled the following sxa solr config for SXA search ...
3
votes
1answer
799 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....
3
votes
0answers
67 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 ...
3
votes
1answer
404 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:...
3
votes
1answer
477 views

Querying Solr datetime Collection

I have a Sitecore 9 instance using Solr. I'm trying to query a collection of datetimes such that if any of the datetimes in that collection are within a range that item will be returned. The issue ...
3
votes
0answers
116 views

SOLR CLOUD error on looping through search result on 9.0 Update-1

I'm trying to setup SOLR Cloud to work with my Sitecore 9.0 (Update-1) instance. I'm using 3 different VMs with [1-Zookeeper + 1-SOLR 6.6.2] configured on all machines. I have added the following ...
3
votes
1answer
170 views

What are some methods for indexing and searching content from multiple sites? [closed]

Pretend you have a small client that is on Sitecore 8.2 on-premise (virtual servers). Traffic is pretty light, and they get away with using just 2 servers (1 DB and 1 Web). Needless to say budget is ...
3
votes
0answers
696 views

Error with indexWorker process in Sitecore 9 xConnect with Solr 6.6.2

I am running Sitecore 9 with Solr 6.6.2 and I am seeing lot of error in the IndexWorker logs in Sitecore xConnect as below: 018-02-21 16:16:13.686 +10:00 [Error] An error occured. System.Net.Http....