# Lucene Vs Elasticsearch Indexing performance

**URL:** <https://discuss.elastic.co/t/lucene-vs-elasticsearch-indexing-performance/91659>\
**Category:** Elasticsearch\
**Created:** [July 3, 2017, 3:03pm UTC](https://discuss.elastic.co/t/lucene-vs-elasticsearch-indexing-performance/91659 "2017-07-03T15:03:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohaneldia](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@mohaneldia](https://discuss.elastic.co/u/mohaneldia)\
**Post date:** [July 3, 2017, 3:03pm UTC](https://discuss.elastic.co/t/lucene-vs-elasticsearch-indexing-performance/91659/1 "2017-07-03T15:03:09Z")

</div>

Hi, we are designing and developing a search application which will be installed in a single system. so, we chose lucene. but elasticsearch contains lot of features and easy management. but we also need performance. so, the dilemma starts. so, we created an index in lucene and elasticsearch with similar data type mapping and tested with millions of documents. in the end we got lucene is approximately 7 to 10 times faster than elasticsearch. May be some configuration issue. but i tried monitoring both tests. one of the main impact for performance in ES seems to be translog. but data loss prevention (made by translog) in our application is not a must. so, please suggest can i use elasticsearch for my scenario?

--update  
after proper configuring 3-4 times

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 3, 2017, 3:08pm UTC](https://discuss.elastic.co/t/lucene-vs-elasticsearch-indexing-performance/91659/2 "2017-07-03T15:08:52Z")

</div>

Did you use bulk requests when indexing into Elasticsearch?

---

<div class="post-metadata">

**Author:** ![mohaneldia](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@mohaneldia](https://discuss.elastic.co/u/mohaneldia)\
**Post date:** [July 3, 2017, 4:51pm UTC](https://discuss.elastic.co/t/lucene-vs-elasticsearch-indexing-performance/91659/3 "2017-07-03T16:51:09Z")

</div>

Yes, I have used elasticsearch's bulk processor with two concurrent request and other default settings. the test involves one date\_field (so, keyword analyzer, indexed,SortedNumericDocValuesField field in lucene) , one text field (so, standard analyzer and simple IndexableField in lucene) and other fields (approx 10 with uuid field) are keyword (so, keyword analyzer, indexed,SortedDocValuesField field in lucene). logs sent to index is single threaded and it is an update query with matching uuid in lucene.

---

<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 31, 2017, 4:51pm UTC](https://discuss.elastic.co/t/lucene-vs-elasticsearch-indexing-performance/91659/4 "2017-07-31T16:51:13Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
