We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [solr]

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

Filter by
Sorted by
Tagged with
2
votes
2answers
705 views

Programmatically stopping Solr Indexing

We are programmatically creating items and using Solr indexes so we want to disable solr indexing whenever we create an item. We tried following code to disable during item creation Item.Add() ...
7
votes
1answer
340 views

Experience Profile search - System.ArgumentOutOfRangeException errir

In Sitecore 8.1-3 when we go to Experience Profile and do a simple search sometimes (not all the time) we get zero results when we know that there are entries in the index and we see a message that ...
6
votes
2answers
364 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 ...
10
votes
2answers
927 views

SearchConfiguration is not configured correctly. ContentSearchConfiguration was expected but System.String was returned

I am getting this error when trying to access a Sitecore website. Here's a screenshot of the complete error message. It probably has to do with configuring Solr to work with Sitecore. Does anyone ...
4
votes
1answer
346 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 ...
8
votes
2answers
974 views

Issue with multiple crawlers on Solr custom search index

I have custom search Index(SOLR) which has two root locations defined, one points to /home node and another points to repository(videos), we also have indexing strategy(onPublishEndAsync) in place. &...
1
vote
1answer
129 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 ...
7
votes
5answers
5k views

Solr query length limit

We are having an issue where queries are too big so we get error 414 (Request-URI Too Long). From what I can see, sitecore sends a GET request with the query to the server. Is there a way to switch ...
6
votes
2answers
3k views

Solr search with stemming

We are running Sitecore 8.0 and Solr 4.10.3. I'm trying to get text search working where if I search for play, player and plays are also returned in the search results. I can't find reference on how ...
6
votes
1answer
565 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 { // ......
10
votes
2answers
962 views

Gracefully handle Solr search connectivity issues

We had an issue recently where the Solr search servers went down and it took the site down too. Is there a way to handle this gracefully and keep the site up but just return an error message when the ...
2
votes
1answer
547 views

Representing relational data in Lucene/Solr index for Segmented lists

Scenario: In Sitecore Experience platform (8.1+) we have a xProfile/Contact, with zero-to-many Sitecore Certifications relation, as an example The contact Arthur Dent has over the years has earned ...
1
vote
1answer
745 views

Why does my Solr index only contain English language versions? Sitecore 8u4

Any idea why my master and web index only have the "en" language versions of items in my 4 language site? Where are languages for the crawler configured?
1
vote
2answers
535 views

Can't seem to get Tomcat 8 / Solr 4.10 running as a service

I am trying to get Tomcat 8 / Solr 4.10 running as a Windows service for my Sitecore installation. I am following the steps outlined here: http://www.ansoncheunghk.info/article/5-steps-install-...
5
votes
1answer
411 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 ...
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 ...
12
votes
2answers
1k views

Indexing jobs queued

On the CM server, all jobs are getting queued, after the following jobs appear in a running state: UpdateIndex_filesystem Indexing Running False 08.11.2016 15:43:19 ...
13
votes
4answers
3k views

How to switch Lucene to Solr

We are planning on changing from Lucene to Solr due to number of items and because we have more than one CM server. What are the steps needed to migrate default lucene indexes to Solr? Is it just a ...
7
votes
2answers
1k views

How to implement 'Did you mean?' - spell checker functionality like google in Sitecore using Lucene/Solr?

I have a requirement to implement google-like 'Did you mean?' functionalities. If user make a mistake in typing then I've to show 'Did you mean [correct search term]'. What is the best way in ...
12
votes
1answer
1k views

If I unpublish an item will Sitecore update the search index?

I have a Sitecore 8.1 / Solr 4.10 instance. I know that if I add a new content item or I delete a content item and then publish, that Sitecore is smart enough to do a partial rebuild of the Solr ...
6
votes
2answers
8k 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: ...
7
votes
3answers
808 views

How do I run MongoDB and SOLR Docker images that work with Windows Server 2016?

I'm trying to configure my Sitecore 8.2 instance in a Docker container using Windows Server 2016. I've been able to successfully setup IIS in a Docker container, but am unable to find any containers/...
11
votes
2answers
1k views

How can I reduce the size of the analytics index? [alt: Populating the Analytics Index]

I'm working with a customer right now that has seen their Solr implementation become unstable lately. Based on some initial analysis, signs are pointing towards the analytics index. They've been live ...
12
votes
1answer
1k views

How do I limit the size of my SOLR indexes?

Every now and then my drive fills up with temp files from SOLR, and I can't figure out why that is happening. Here's what I know: I have a 50gb partition and my analytics index has numDocs:43,287,203 ...
10
votes
2answers
2k views

Configuring master and web index for faster rebuild

During an upgrade from 6.x to 8.1 we decided to also move the indexes from Lucene to Solr. We ran into quite some troubles, but that is not the question as those are fixed. The "problem" I'm still ...
7
votes
1answer
1k views

How to properly search Solr for any match on one stringCollection field and no matches on a second stringCollection field?

I have a Sitecore v8.1 site using Solr 4.10. Here is my index setup. First I have two custom fields defined in my index defined as follows: <field fieldName="read_roles" returnType="...
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 ...
19
votes
1answer
1k views

Sitecore Content deliveries and Solr with High availability

I'm trying to find a recommendation from Sitecore in terms of configuring Solr for high availability and how to use it properly with Sitecore. Does anybody know where I can find it? If not, I'm ...
4
votes
1answer
808 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....
3
votes
2answers
291 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 ...
6
votes
1answer
847 views

Why is Sitecore not sending a correctly formed query to Solr?

I have a site that I have upgraded from v7.5 to v8.1. In addition I have changed from Solr 4.7 to Solr 4.10. In my general search routine I am trying to filter out content items based on Sitecore ...
5
votes
1answer
199 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
3answers
128 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-...
6
votes
2answers
471 views

How to specify Solr core in search code for Sitecore 8.1

I recently upgraded from Sitecore v7.5 to v8.1. In addition my Solr configuration changed a little. On v7.5 I only had a single core. On v8.1 I now have many cores. After upgrading my search code ...
7
votes
1answer
5k views

Adding a field to a custom SOLR index configuration

I am moving indexes from Lucene to Solr. Almost everything is working again, except a few custom indexes that have their own index configuration and had some field added to the fieldMap. Other custom ...
7
votes
4answers
6k views

Unable to connect to [http://localhost:8983/solr], Core: [mycore]

I am creating Solr Sitecore search index. After index was added to Solr and Sitecore configuration was updated to connect to it, I suddenly got yellow screen of death: Connection error to search ...
32
votes
11answers
22k views

How to get Solr to run as a service?

I have a Sitecore 8.1 instance and we are using Solr 4.10 for search. I followed the Solr installation guide found here - https://sitecore-community.github.io/docs/search/solr/fast-track-solr-for-lazy-...
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 ...
7
votes
2answers
83 views

Is Solr term support required for versions of Solr prior to 8.2?

Sitecore documentation on Solr set up has a section on Enabling Solr term support, which is required to power dropdowns in the UI. Which versions of Sitecore require this? Sitecore 8.2 only, or ...
3
votes
2answers
794 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
413 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 ...
12
votes
4answers
4k views

How much memory does the JVM for Solr need?

My website went down last night and as we were looking through the log files on one of the CD instances we found this error: > 6684 23:20:21 ERROR <?xml version="1.0" encoding="UTF-8"?> <...
10
votes
2answers
4k views

Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex. No matching constructor was found

I am trying to configure Solr for Sitecore 8.2. Solr is running and I have cores set up for each index and secondary cores set up for rebuilding. I'm not using the Solr support package. I am getting ...
6
votes
1answer
113 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 ...
2
votes
1answer
2k views

Microsoft.Practices.ServiceLocation assembly not loading

I'm upgrading my Sitecore 8.1 Visual Studio project to use Sitecore 8.2, and I've made quite a bit of progress. I've switched to SOLR, updated Glass Mapper, and replaced out my DLL references to use ...
5
votes
2answers
376 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), ...
10
votes
2answers
2k views

Sitecore Azure Search vs. Solr Provider

I've used both Solr and Lucene. The majority of our sites now use SOLR. Heard Azure Search provider will be introduced on 8.2.1 release. Has anyone played with Azure Search? Does Azure Search use ...
6
votes
1answer
375 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 ...