# What's the difference between solr and elasticsearch in hdfs case?

**URL:** <https://discuss.elastic.co/t/whats-the-difference-between-solr-and-elasticsearch-in-hdfs-case/19215>\
**Category:** Elasticsearch\
**Created:** [August 12, 2014, 2:47am UTC](https://discuss.elastic.co/t/whats-the-difference-between-solr-and-elasticsearch-in-hdfs-case/19215 "2014-08-12T02:47:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jianyi](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@Jianyi](https://discuss.elastic.co/u/Jianyi)\
**Post date:** [August 12, 2014, 2:47am UTC](https://discuss.elastic.co/t/whats-the-difference-between-solr-and-elasticsearch-in-hdfs-case/19215/1 "2014-08-12T02:47:19Z")

</div>

Hi~

I'm new to both solr and elasticsearch. I have read that both the two support creating index on hdfs.

So, what's the difference between solr and elasticsearch in hdfs case?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 12, 2014, 8:29am UTC](https://discuss.elastic.co/t/whats-the-difference-between-solr-and-elasticsearch-in-hdfs-case/19215/2 "2014-08-12T08:29:31Z")

</div>

I would not store my indices on HDFS. 🙂  
Too slow IMHO.

Use local storage and let elasticsearch distribute your data over multiple machines. Basically, with elasticsearch you don't need HDFS to scale out.  
I don't know for SOLR.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 12 août 2014 à 10:22:03, Jianyi ([phoenix.w.2010@gmail.com](mailto:phoenix.w.2010@gmail.com)) a écrit:

Hi~

I'm new to both solr and elasticsearch. I have read that both the two  
support creating index on hdfs.

So, what's the difference between solr and elasticsearch in hdfs case?

--  
View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/what-s-the-difference-between-solr-and-elasticsearch-in-hdfs-case-tp4061659.html](http://elasticsearch-users.115913.n3.nabble.com/what-s-the-difference-between-solr-and-elasticsearch-in-hdfs-case-tp4061659.html)  
Sent from the ElasticSearch Users mailing list archive at [Nabble.com](http://Nabble.com).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1407811639795-4061659.post%40n3.nabble.com](https://groups.google.com/d/msgid/elasticsearch/1407811639795-4061659.post%40n3.nabble.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/etPan.53e9d06b.79838cb2.18f0%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.53e9d06b.79838cb2.18f0%40MacBook-Air-de-David.local).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jianyi](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@Jianyi](https://discuss.elastic.co/u/Jianyi)\
**Post date:** [August 12, 2014, 9:08am UTC](https://discuss.elastic.co/t/whats-the-difference-between-solr-and-elasticsearch-in-hdfs-case/19215/3 "2014-08-12T09:08:49Z")

</div>

Hi David,

Thanks for your reply.

I'm not talking about scaling out.

Out team has a project providing web services based on Lucene. The current  
architecture indexes the documents to lucene through some kafka-like queues.  
But we have a problem: when massive documents comes for indexing(eg:  
creating index for some application for the first time with large scale  
datas), the service becomes too slow. So we want to do some work about  
offline-indexing, that is to prepare the index well offline and replace the  
old index online when needed. We are looking for some solution based on  
hdfs.

Do you have any idears about the offline-indexing above?

--  
View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/what-s-the-difference-between-solr-and-elasticsearch-in-hdfs-case-tp4061659p4061684.html](http://elasticsearch-users.115913.n3.nabble.com/what-s-the-difference-between-solr-and-elasticsearch-in-hdfs-case-tp4061659p4061684.html)  
Sent from the ElasticSearch Users mailing list archive at [Nabble.com](http://Nabble.com).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1407834529982-4061684.post%40n3.nabble.com](https://groups.google.com/d/msgid/elasticsearch/1407834529982-4061684.post%40n3.nabble.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jianyi](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@Jianyi](https://discuss.elastic.co/u/Jianyi)\
**Post date:** [August 12, 2014, 11:27am UTC](https://discuss.elastic.co/t/whats-the-difference-between-solr-and-elasticsearch-in-hdfs-case/19215/4 "2014-08-12T11:27:55Z")

</div>

Hi David,

Thanks for your reply.

I'm not talking about scaling out.

Our team has a project providing web services based on Lucene. The current architecture indexes the documents to lucene through some kafka-like queues. But we have a problem: when massive documents comes for indexing(eg: creating index for some application for the first time with large scale datas), the service becomes too slow. So we want to do some work about offline-indexing, that is to prepare the index well offline and replace the old index online when needed. We are looking for some solution based on hdfs.

Do you have any idears about the offline-indexing above?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 12, 2014, 12:28pm UTC](https://discuss.elastic.co/t/whats-the-difference-between-solr-and-elasticsearch-in-hdfs-case/19215/5 "2014-08-12T12:28:11Z")

</div>

And did you try it with elasticsearch? I mean indexing and still using the service?

If you really hit an issue, you can think of allocating new index on dedicated nodes and then move them to "live" nodes.  
Using aliases would be even better so you'll be able to switch from one old index to the new one without any downtime.

Another solution could be to index in a dedicated cluster and then use snapshot and restore to backup from index cluster to search cluster.

But again, I'd make sure that I really have problems before trying to solve problems I don't have.

My 2 cents.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 12 août 2014 à 13:43:13, Jianyi ([phoenix.w.2010@gmail.com](mailto:phoenix.w.2010@gmail.com)) a écrit:

Hi David,

Thanks for your reply.

I'm not talking about scaling out.

Our team has a project providing web services based on Lucene. The current  
architecture indexes the documents to lucene through some kafka-like queues.  
But we have a problem: when massive documents comes for indexing(eg:  
creating index for some application for the first time with large scale  
datas), the service becomes too slow. So we want to do some work about  
offline-indexing, that is to prepare the index well offline and replace the  
old index online when needed. We are looking for some solution based on  
hdfs.

Do you have any idears about the offline-indexing above?

--  
View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/what-s-the-difference-between-solr-and-elasticsearch-in-hdfs-case-tp4061659p4061695.html](http://elasticsearch-users.115913.n3.nabble.com/what-s-the-difference-between-solr-and-elasticsearch-in-hdfs-case-tp4061659p4061695.html)  
Sent from the ElasticSearch Users mailing list archive at [Nabble.com](http://Nabble.com).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1407842875709-4061695.post%40n3.nabble.com](https://groups.google.com/d/msgid/elasticsearch/1407842875709-4061695.post%40n3.nabble.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/etPan.53ea085c.189a769b.18f0%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.53ea085c.189a769b.18f0%40MacBook-Air-de-David.local).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jianyi](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@Jianyi](https://discuss.elastic.co/u/Jianyi)\
**Post date:** [August 13, 2014, 1:43am UTC](https://discuss.elastic.co/t/whats-the-difference-between-solr-and-elasticsearch-in-hdfs-case/19215/6 "2014-08-13T01:43:14Z")

</div>

Hi David,

I'm afraid it would be a little expensive to move to ES.

I came across elephant-bird-lucene of twitter yesterday, and I will try it.

Thanks for your reply.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 13, 2014, 4:40am UTC](https://discuss.elastic.co/t/whats-the-difference-between-solr-and-elasticsearch-in-hdfs-case/19215/7 "2014-08-13T04:40:21Z")

</div>

Why it would be expensive?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 13 août 2014 à 03:43, Jianyi [phoenix.w.2010@gmail.com](mailto:phoenix.w.2010@gmail.com) a écrit :

Hi David,

I'm afraid it would be a little expensive to move to ES.

I came across elephant-bird-lucene of twitter yesterday, and I will try it.

Thanks for your reply.

--  
View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/what-s-the-difference-between-solr-and-elasticsearch-in-hdfs-case-tp4061659p4061760.html](http://elasticsearch-users.115913.n3.nabble.com/what-s-the-difference-between-solr-and-elasticsearch-in-hdfs-case-tp4061659p4061760.html)  
Sent from the ElasticSearch Users mailing list archive at [Nabble.com](http://Nabble.com).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1407894195068-4061760.post%40n3.nabble.com](https://groups.google.com/d/msgid/elasticsearch/1407894195068-4061760.post%40n3.nabble.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/BAEF859C-F48F-410B-9D6F-AD7C26F6E35B%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/BAEF859C-F48F-410B-9D6F-AD7C26F6E35B%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:09am UTC](https://discuss.elastic.co/t/whats-the-difference-between-solr-and-elasticsearch-in-hdfs-case/19215/8 "2017-07-06T01:09:04Z")

</div>

Closed on July 6, 2017, 1:09am UTC


