Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running Solr on Azure

Tags:

solr

azure

Can Solr be run on Azure?

like image 531
HaavardMeling Avatar asked Oct 02 '10 17:10

HaavardMeling


People also ask

What is Solr in Azure?

Apache Solr is a powerful, open source enterprise search platform built on Apache Lucene. It is designed to be highly reliable and fault tolerant, with distributed indexing, replication, load-balanced querying, and centralized configuration management built in.

What is the difference between Azure search Solr and Lucene?

Use Solr for a scaled environment in on-premise installations, and use Solr or Azure Search in an Azure environment for a scaled environment. Use Lucene only for a development or single server evaluation environment that runs Sitecore Experience Manager. You cannot use Lucene in a scaled environment.


1 Answers

I know this thread is old, but I wanted to share our two cents. We are running SOLR on Azure with no big problems. We've created a startup task to install Java and create the deployment, and we have a SOLR instance on each web role. From there on, it's a bit of magic figuring out which master/slave configuration, but we've solved that too.

So yes, it can be done with a little bit of work. Most importantly, the startup task is key. Index doesn't have to be stored anywhere but on local disk (Local Resource), because indexing is part of the role startup. If you have to speed it up and a few minute differences are acceptable, you can have the index synced with a blob storage copy every once in a while by the master. But in this case you need to implement a voting algorithm so that the SOLR instances don't override each other.

We'll be posting info on our blog, but I don't want to post links in answers for old threads because I'll look like a spammer :o)

like image 67
Anže Vodovnik Avatar answered Sep 24 '22 01:09

Anže Vodovnik