We recently used SOLR suggester to implement autocomplete feature for our Site search. There are 3 steps involved to implement the Suggester:1. Add the Search component in solrconfig.xml file.2. Add the new field in Managed-Schema file.3. Call the Suggester from your Controller method. Add the Search component in solrconfig.xml filea. Go to the solrconfig.xml file … Continue reading Enabling the Suggester from SOLR for the Search box
We recently started facing heap size issue on one of our SOLR instance. Error: Caused by: java.lang.OutOfMemoryError: Java heap space I thought it was easy fix by just adding more memory but it wasn't as forward as I thought. Before you jump to the solution I will share a good link which will explain you … Continue reading How to resolve SOLR Heap size issue?
We tried using a PowerShell script for SOLR installation and it works like a charm for us. Jeremy Davis's post helped us a lot to get to this. Please refer his post here, it almost removes all your headache of manually installing SOLR. Also there is good discussion on Stack Exchange. This script reduces your … Continue reading Use PowerShell script to install SOLR
In this blog, we will see how to install Sitecore 10 with SOLR as Search provider. In case if you are looking for Sitecore with Azure Search as a Search provider then you can go through this blog. Also the prerequisite for installing the Sitecore 10 with SOLR is that we need the SOLR up … Continue reading Installing Sitecore 10 using SOLR as Search Provider on Azure
In this blog, we will see how to configure SOLR search provider in your instance if you are using Azure Search and now you want to switch to SOLR. To specify the search provider, open the Web.config file from the Sitecore instance and search for the search:define key. If we want to use SOLR as … Continue reading How to setup SOLR search provider in your instance?
In this blog, we will check 2 ways of creating the SOLR cores. How to create a core in SOLR with API? http://%5BYOUR SOLR SITE ADDRESS]/solr/admin/cores? action=CREATE&name=sitecore10demo_custom_index&instanceDir=sitecore10demo_custom_index&configSet=_default&dataDir=data Here are details about parameters – ParameterValueCommentsactionCREATECommand to create corenamesitecore10demo_custom_indexName of the coreinstanceDirsitecore10demo_custom_indexDirectory nameconfigSet_defaultConfigset to be useddataDirDataData directory How to create a core in SOLR manually? We can … Continue reading How to create SOLR cores on Azure hosted SOLR service?
In this blog we will target the SOLR service for Sitecore 10, and hence we will configure SOLR 8.4.0. If you are looking for a solution for older version of Sitecore or SOLR then you can refer Dan Cruickshank's blog here. Setting up the App Service Login to Azure portal. Navigate to App Services and … Continue reading Setting up SOLR in cloud as an App Service
Once we install Sitecore on Azure PaaS using the Marketplace option. In either case, if you opted for SOLR or Azure Search as search provider, the advanced search or the search in the Content Editor doesn't work. What can be the reason behind this issue? The reason is the indexes are not created or the … Continue reading Search not working in Content Editor on Azure PaaS instance
There are few default indexes which are created by Sitecore for the internal use. We can use 2 of it's default indexes namely sitecore_web_index & sitecore_master_index to build our Site search functionality or search based components. In case you have only one site developed in Sitecore instance with very few pages and content then you … Continue reading How to create a custom SOLR index
Below video covers the Sitecore Introductory Training - Session 3, the topics that were covered are as follows: Creating custom Solr index Integrating & Indexing the custom index in Sitecore Implementing a Search functionality. I am planning to record all the topics separately to help the beginners to learn quickly. I will surely update everyone … Continue reading Sitecore Introductory Training – Session III