Questions tagged [solr]

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

Filter by
Sorted by
Tagged with
6
votes
2answers
7k views

SOLR search not returning results [closed]

I am new to SOLR search. I have created all cores and index and SOLR UI is showing that documens have been indexed. I have copied the working core folder and renamed it and also updated in ...
6
votes
1answer
726 views

What is the best way to store a single Sitecore field into two Solr index fields with different types?

I have a Category field in sitecore and it is currently stored as a text_general in Solr. It has this type because I need it to be tokenized and lowercase for searching. On the other hand I need to ...
6
votes
2answers
11k views

Value cannot be null. Parameter name: fieldNameTranslator - Opening Content Editor [closed]

I was trying to setup the Sitecore with Solr. I created the Default Instance and added Solr. I use Castle Windsor as IOC, updated the Global.asax. Since I was not able to download the Solr Support ...
6
votes
2answers
437 views

Master index updated even though manual strategy is set

I have changed update strategy for Master database to be "manual" rather than "sync", which to my understanding should not update "master" when data changes in master database. I can see in crawling ...
6
votes
1answer
823 views

How to query for regEx matches in any value in a stringCollection field?

I have a computed field with returnType="stringCollection", which I am using via a search result model that looks something like this: public class MySearchResultItem : SearchResultItem { // ......
6
votes
1answer
1k views

“Multilist with Search” Field Does Not Return Search Results With Two Or More Items Selected

This is for Sitecore 8.1 Update 3, using Solr 5.5. It appears that in a Multilist with Search Field, if the field has two or more items currently selected (it does not matter whether the item has ...
6
votes
1answer
157 views

SOLR schema is Invalid?

I have been tweaking my SOLR 5.4 schema and I have noticed this behavior: If I have _path defined in my schema.xml, I do not see _path_sm (or _path) in my raw SOLR index. However, if I remove the ...
6
votes
1answer
2k views

SOLR Cloud error “The remote server returned an error: (500)”

I'm trying to setup SOLR Cloud to work with my Sitecore 8.2 (original release) instance. I'm doing this because our analytics index has gotten to the point where our massive SOLR box (90 Gb RAM, 16 ...
6
votes
2answers
730 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 ...
6
votes
1answer
407 views

Field values are being fetched as null while reading the data with SolrContentSearchManager with Solr custom FlatDataCrawler

I'm busy creating a Crawler using FlatDataCrawler for custom non-sitecore data. Inserting the data into Solr works, but when i'm reading the data with SolrContentSearchManager my entities are inserted ...
6
votes
1answer
944 views

Switch Azure Search to Solr Sitecore PaaS [duplicate]

I am working with the Upgrade to Sitecore 9 in Azure PaaS, however, I also need to switch the Azure Search to Solr that is compatible with the Sirecore 9 PaaS. I have tried looking for any ...
6
votes
1answer
258 views

Boost Search Placement for One Page and One Keyword

Our website has a search feature where the user types in a keyword and the results page lists out links to all the pages that the keyword is found on. We want one particular page to come up at the ...
6
votes
1answer
2k views

Solr and multivalue fields

I have a field in Sitecore that contains data such as "2010,2011,2012,2013" or "Europe;Asia;Africa;Artic" etc. These are string fields and don't need to be anymore than strings. These fields come from ...
5
votes
3answers
136 views

What weighs in when migrating lots of external content to MongoDB and/or SOLR?

I am tasked with importing a large bulk of transaction data and make it available to my Sitecore solution. We're talking roughly 10 million transaction records that we need to be able to utilise real-...
5
votes
1answer
1k views

SwitchOnRebuild with SolrCloud not working

We are running Sitecore 9.0.0 (Initial Release) on Azure with SolrCloud (6.6.2) and getting close to go-live. We are using Sitecore's SwitchOnRebuild functionality for indexing so that the indexes ...
5
votes
2answers
3k views

Installing Sitecore 9 in XP0 setup with SOLR instance on Remote Server

I have setup the sitecore 9 on my machine and used setup guide I have installed SQL Server 2017 and SOLR 6.6.2 in Remote Server. [The OS is Windows Server 2012 R2 Standard] I have followed the ...
5
votes
1answer
294 views

How do you perform a ContentSearch using the “MoreLikeThis” handler?

We have a Solr index and using the standard Linq queries. I noticed that Sitecore supports Solr features like Suggester or Highlighter, but I did not find anything about MoreLikeThis feature. I'm ...
5
votes
1answer
427 views

How to use both Lucene & Solr with Brightcove?

In our project, we are using Brightcove videos, currently brightcove media framework supports only Lucene. But we need to use Solr for the site search, and other functionalities. How do we enable ...
5
votes
2answers
258 views

Solr auto-suggest brings all data in the website

I'm using Solr auto-suggest with the SXA search box, it's working perfect but with two issues, first it brings suggestion for all data in the site without any limitation, I want to limit to a search ...
5
votes
1answer
86 views

Is there a way to use asterix in Sitecore SOLR configuration root?

First of all a little context. I'm using Sitecore 8.1 with Solr 5.5.0-1 and my data are stored like this : sitecore ->content -->Assistance --->Products ---->Alarms ----->...
5
votes
2answers
444 views

Where can I find the instructions for setting up SOLR without using IOC?

I'm trying to setup an instance of Sitecore 8.2 so I can see what it's going to take to upgrade my site from Sitecore 8.1 to it. I've heard that Sitecore 8.2 can run SOLR natively (without using IOC), ...
5
votes
1answer
2k views

Issue with http://localhost:8983/solr in Sitecore configuration

I observed an interesting scenerio in my machine. I have the following configuration: <setting name="ContentSearch.Solr.ServiceBaseAddress" value="http://localhost:8983/solr" /> Now, If I go ...
5
votes
1answer
2k views

SOLR Custom Index Causing Error

I am converting a Lucene custom index to a SOLR custom index. I got the Cores working for the default indexes, but having trouble converting my custom indexes. I got through some of the issues, but ...
5
votes
2answers
500 views

What is the correct root node for 'sitecore_marketingdefinitions_master' index?

I am working on a task to move a Sitecore installation search from Lucene to Solr on Sitecore version 8.2. I am using Solr version 5.1 as it is the recommended version for sitecore 8.2. All the other ...
5
votes
1answer
179 views

Exception while switching Lucene to Solr 4.1 on Sitecore 7.2

I am attempting to switch an instance of Sitecore 7.2 from Lucene to Solr on my local machine. I followed a well written guide detailing the steps, but I can't make it work. My environment: ...
5
votes
1answer
218 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" ...
5
votes
1answer
2k views

“There is no method 'Filter' on type 'Sitecore.ContentSearch.Linq.QueryableExtensions' that matches…”

I'm re-posting because the other thread on with 'GetResults' instead of 'Filter' SOLR error message is in a different context. This thread was when migrating from 8.1 to 8.2, while we are migrating ...
5
votes
1answer
3k views

Solr multivalued fields

We are currently working on migrating from Lucene to Solr and we're having a couple of issues with our index data. There hasn't been any code changes so we're assuming it is stemming from the indexed ...
5
votes
1answer
178 views

xConnect in a DR scenario

NOTE: In our environment, SQL is cloud hosted. It has its own fail over strategy which is separate from the server/site DR. NOTE: Our DR and Production environments are in different geo zones. We can'...
5
votes
1answer
222 views

Can I set up Sitecore ContentSearch to use a separate Search- and Requesthandler on SOLR per site?

As the question says; do I have any options of setting/defining my own Search- and Request-Handlers for Sitecore ContentSearch, based on the active site? Skimming through ContentSearch configs, I'm ...
5
votes
1answer
218 views

Setting Up Query Elevations

This is related to Solr QueryElevationComponent component usage, but I'm looking for information on getting elevation setup. I see some other questions involving Solr query elevation. Is there ...
5
votes
2answers
270 views

Internal search doesn't work after configuring solr

The internal search stopped working. It was working fine until I configured Solr. The changes I made are : Disable all Lucene configs except the DefaultIndexConfiguration.config and enabled all Solr ...
5
votes
0answers
388 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}, "...
5
votes
0answers
1k 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 ...
5
votes
1answer
448 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 ...
5
votes
0answers
241 views

SolrCloud and the Indexing Manager not showing statistical information

We are looking at deploying SolrCloud with our 8.2.5 install. Everything seems to be running OK so far, however I've noticed that the Indexing manager does not load any of the indexing statistical ...
5
votes
0answers
168 views

Configuring Solr on remote server using SIM

Is it possible to configure Solr using SIM on a remote machine? By default it shows http://localhost:8983/solr .Can we have it something as http://abc.com:8983/solr ?
5
votes
0answers
814 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 ...
4
votes
2answers
3k views

Sorting Solr items query by Sortorder field

When bringing back items from Solr via the ContentSearch API it's not possible to maintain the content tree sort order as this isn't returned as a field by default. How do I order by results by the ...
4
votes
2answers
2k 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 ...
4
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!
4
votes
2answers
387 views

Solr tokenization to split on semicolon character

How do I go about configuring fields within a Solr index to be tokenized based on a semicolon ";" delimiter? Initially, I had fields configured as such: <field fieldName="example&...
4
votes
3answers
214 views

Sitecore 9.0 works with solr 7.2.1?

I have installed Sitecore 9.1.0 XP on my system with Solr 7.2.1. I want to install Sitecore 9.0.1 XP also on my system. Should I use Solr 7.2.1 for this or do I need Solr 6.6.2? Any help is ...
4
votes
3answers
15k 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 ...
4
votes
1answer
617 views

Sitecore 9.0 update 1 and Solr version

I noticed slight differences in the Solr version for Sitecore 9 update 1. Here 6.6.1 is mentioned whereas the installation guide has 6.6.2. Does the initial 9 release need 6.6.1 and update 1 requires ...
4
votes
2answers
906 views

How can I use SXA and SOLR together?

I've installed Sitecore 8.2 Original release, and then Ran the Sitecore Powershell Extensions-4.3 for Sitecore 8 and the Sitecore Experience Accelerator 1.2 rev. 161216 onto the instance. That all ...
4
votes
1answer
302 views

SOLR datetime fields not readable

In my SOLR index, all my datetime fields have encoding in them and not date data. I have compared my configs with a vanilla Sitecore 9.0.1 and find no differences. So it seems like it must be a ...
4
votes
2answers
2k views

Object Reference Error in Sitecore.ContentSearch.SolrProvider.SolrIndexSummary.get_NumberOfDocuments()

I am running Solr 5.5.4. When I open the index manager, I see a bunch of errors in the Sitecore log file of the following: 5664 13:40:46 ERROR Object reference not set to an instance of an object. ...
4
votes
2answers
1k 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 !
4
votes
2answers
923 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 ...

1
2
3 4 5
11