All Questions
Tagged with sitecore-solr or solr
710 questions
35
votes
12
answers
40k
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-...
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 ...
15
votes
4
answers
7k
views
Install-SitecoreConfiguration xconnect-solr.json - Error Invoke-ManageSolrCoreTask : Missing required parameter: name
What:
I am trying to install sitecore XP1 architecture. I already have a signed certificate. My issue comes when I try to configure sitecore on my solr. Sitecore 9.0.1 rev. 171219. SOLR 6.6.4. ...
14
votes
4
answers
8k
views
Configuring SSL for Solr
So I'm working my way through the Sitecore 9 install instructions, and part of it is to install Solr with SSL. Since the install guide just refers you over to Solr, I've been following the ...
13
votes
4
answers
5k
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 ...
13
votes
1
answer
2k
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 ...
13
votes
2
answers
3k
views
Incorrect dynamic field type for Droptree
Background: Sitecore 9, Solr 6.6.1
I have got a strange issue with incorrect resolution of field type by SOLR during item indexing.
I read the following article about resolution a field names:
...
12
votes
2
answers
27k
views
Unable to start Solr service on Windows 10 / Windows Server 2016 x64 [closed]
I'm trying to install Solr service as described here. I use NSSM prelease build 2.2.4-101 to 'avoid an issue with services failing to start', but after installation the service cannot start anyway:
...
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"?> <...
12
votes
3
answers
3k
views
Filter number of fields returned from SOLR
We have a query that is running against our SOLR. The query is returning extremely slowly due to the number of fields and the amount of data in those fields. When the query runs, its adding the fl=* ...
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 ...
12
votes
2
answers
3k
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 ...
11
votes
2
answers
3k
views
Wildly inconsistent index data after rebuilds
TLDR - we put anderslaub's answer fix into a production site and it worked like a charm.
SC 9.1
SwitchOnRebuildSolrSearchIndex is enabled
SOLR 7.2.1
I have 120k items in Sitecore, so I have a good ...
11
votes
1
answer
8k
views
Multiple partial word search not working
I have implemented a global search on our website which gets the data result from _content field in solr indexes.
Single word search works perfectly fine but I am currently facing an issue if I have ...
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 ...
11
votes
3
answers
2k
views
SOLR and Zookeeper setup
I am trying to setup mit XP1 installation requirements.
So I've setup a single SOLR server with Zookeeper on it like descripted here:
https://lucene.apache.org/solr/guide/6_6/setting-up-an-external-...
10
votes
2
answers
6k
views
Sitecore Full Content Search
We are using SOLR 5.4 and Sitecore 8.2 and we have implemented Full Content Search using _Content field which is displaying search result in Company Pages and various datasources linked to these ...
10
votes
2
answers
3k
views
How to configure Solr for Sitecore PaaS setup
We are currently trying to upgrade our Sitecore 8.1 Environment to Sitecore 9. We are also doing this implementation to Sitecore 9 PaaS and succesfully had several components work, however we are ...
10
votes
2
answers
1k
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 ...
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 ...
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 ...
10
votes
2
answers
1k
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 ...
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 ...
9
votes
6
answers
14k
views
Settings for Solr in a master/slave or leader/follower configuration
We are doing Solr Master slave configuration for one of the environments . Now issue here is
1) Is it possible for Sitecore CMS to update indexes on Solr Master and do Out of the box search in ...
9
votes
5
answers
17k
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: ...
9
votes
2
answers
2k
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.
&...
9
votes
2
answers
2k
views
Solr Search Model doesn't work without the dynamic field suffix
I have ContentSearch code that works and runs fine using Lucene. When I switch the configs over to Solr, the query fails, and the logs state that the field I'm using in the query doesn't exist.
[...
9
votes
3
answers
1k
views
Is there any way to install Sitecore 9 without Solr?
We are planning to host the solution on Microsoft Azure PaaS, and using Azure Search instead of Solr. When we install Sitecore 9 on Azure PaaS, Solr is not required.
Is there any way to configure ...
8
votes
4
answers
6k
views
Installation Error - Cannot validate argument on parameter 'Source'
I am in process of installing Sitecore 9 using SIF. Everything went smooth but when running the Power shell script to install SIF, ended up with the error below:
PS>TerminatingError(Invoke-CopyTask)...
8
votes
5
answers
12k
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 ...
8
votes
2
answers
2k
views
Understanding Search Based on _content field
We have a client site , with SOLR for searching products . The Code base for returning the search results is shown below. The products searched are based on search term entered by user
Code
var ...
8
votes
5
answers
2k
views
Error opening new searcher. exceeded limit of maxWarmingSearchers=2
I am relatively new to SOLR. We are using SOLR 6.1.0.1 with Sitecore 8.1 Update 3. There are roughly 50K items (content and files) being indexed. We are being plagued by poor throughput (through ...
8
votes
3
answers
2k
views
Could not find add method: AddIndex (type: Sitecore.ContentSearch.ContentSearchConfiguration)
We are setting up a new Sitecore 9.3 instance on a server, making the respective connection string changes and getting the below error while loading the Sitecore login page:
Error:
Could not find add ...
8
votes
2
answers
127
views
Compatiblity of Sitecore 7.1 with Solr Search 4.1
We have our site on older version of Sitecore 7.1 (another site on Sitecore 7.2) and we are intending to integrate it with Solr Search 4.1 server.
I have question that if this version of Sitecore is ...
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="...
7
votes
4
answers
11k
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 ...
7
votes
2
answers
11k
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 ...
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/...
7
votes
3
answers
3k
views
Boost Solr query and prioritize exact match
I have few records in Solr index.
Bachelor of Nursing
Bachelor of Nursing (Honours)
My requirement is that when I want to search Bachelor of Nursing then Bachelor of Nursing should display first and ...
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
3
answers
4k
views
There is no method 'GetResults' on type 'Sitecore.ContentSearch.Linq.QueryableExtensions' that matches the specified arguments
We are using Solr for indexing. We recently upgraded from Sitecore version 8.1 update 2 to 8.2 update 5. After upgrading when a search is performed we get the following error:
There is no method '...
7
votes
2
answers
832
views
How do you boost fields such as Title or Navigation individually in SXA when using SOLR?
In our example, we have a Careers search feature in which we only want to match on title, job id, or a meta field such as description.
One wonderful feature about SXA is that you have an easy-to-use ...
7
votes
1
answer
467
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 ...
7
votes
2
answers
97
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 ...
7
votes
3
answers
3k
views
What would cause Sitecore and Solr to not talk to each other?
I'm running Sitecore 8.2 Update 4 with Solr 5.5 (running inside of a Linux Docker container). I'm trying to get Sitecore to tell Solr to populate the indexes. Here's my setup:
Downloaded the Solr 5.5 ...
7
votes
1
answer
266
views
Is there a way to modify the Solr query that gets generated by the Sitecore Content Search API before it gets sent to the search server?
I'm looking to add some parameters to my Solr query that's not currently supported by the Search API (hit highlighting to be specific). Is there a way (like a pipeline processor or something) to ...
7
votes
2
answers
1k
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 ...
7
votes
2
answers
2k
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 ...
6
votes
2
answers
400
views
Solr on Windows with Sitecore
I am trying to setup solr to work with Sitecore. Locally, it was easy to set up on my Windows machine. In the other environments I naturally want to use a dedicated Solr server.
The question is: can ...
6
votes
2
answers
1k
views
When using SOLR with Sitecore is it mentioned anywhere to always use lowercase index names?
For a recent customer, we moved them to SOLR, which I highly recommend for production environments over Lucene, and we encountered a few issues, as some of the Lucene indexes had some uppercase ...