Questions tagged [solr]

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

Filter by
Sorted by
Tagged with
4
votes
1answer
784 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
721 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
386 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
220 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
631 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
211 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
796 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
847 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
448 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
136 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
552 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
184 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
237 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
266 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
94 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
261 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
709 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

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
2answers
420 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
3answers
795 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
440 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
3k 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
994 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
3answers
13k 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
721 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
976 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
100 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
934 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
301 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
605 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
3answers
781 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 ...
3
votes
2answers
860 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
698 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
188 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
3answers
96 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
690 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
860 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
177 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
397 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
88 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-...
3
votes
1answer
807 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
74 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
397 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
333 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
91 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 => ...
3
votes
1answer
559 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 ...

1 2
3
4 5
9