Questions tagged [solr]
Anything related to Solr indexes: querying, configuring, maintaining, ...
677
questions
7
votes
3
answers
1k
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
2
answers
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
1
answer
2k
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
2
answers
3k
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 ...
8
votes
1
answer
3k
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="...
5
votes
3
answers
19k
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 ...
20
votes
1
answer
2k
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
1
answer
1k
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
2
answers
462
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
1
answer
2k
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
1
answer
234
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
3
answers
170
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
2
answers
544
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
1
answer
7k
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
4
answers
10k
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 ...
34
votes
12
answers
38k
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
1
answer
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
2
answers
92
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
2
answers
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
1
answer
499
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
4
answers
8k
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
2
answers
7k
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
1
answer
215
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
1
answer
4k
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
2
answers
496
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
2
answers
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
1
answer
443
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 ...