# Nested document indexing performance \[How to improve\]

**URL:** <https://discuss.elastic.co/t/nested-document-indexing-performance-how-to-improve/10554>\
**Category:** Elasticsearch\
**Created:** [January 30, 2013, 11:05am UTC](https://discuss.elastic.co/t/nested-document-indexing-performance-how-to-improve/10554 "2013-01-30T11:05:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gunaseks](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@gunaseks](https://discuss.elastic.co/u/gunaseks)\
**Post date:** [January 30, 2013, 11:05am UTC](https://discuss.elastic.co/t/nested-document-indexing-performance-how-to-improve/10554/1 "2013-01-30T11:05:39Z")

</div>

Hi,

This is my first post to ES group.

As requirement demand, I have created nested document to full fill my need.  
I have experienced _major time consuming_ on indexing _nested document_. I  
have single node for this test.

Is any way i can improve performance of indexing of Nested document?

Thank you,  
guna.

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![radu\_gheorghe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/radu_gheorghe/32/556_2.png) [@radu\_gheorghe](https://discuss.elastic.co/u/radu_gheorghe)\
**Post date:** [January 31, 2013, 8:01am UTC](https://discuss.elastic.co/t/nested-document-indexing-performance-how-to-improve/10554/2 "2013-01-31T08:01:08Z")

</div>

Hello and welcome!

I don't think there's any tuning you can do specifically for nested  
documents, so I guess you have to look at options that improve your  
indexing performance in general.

Take a look at this thread for some other ideas:  
[https://groups.google.com/forum/?fromgroups=#!topic/elasticsearch/jg13KdZqMHM](https://groups.google.com/forum/?fromgroups=#!topic/elasticsearch/jg13KdZqMHM)

If you just need a few specific tips to start with, I'd first look at:

- bulk indexing: [Elastic — The Search AI Company | Elastic](http://www.elasticsearch.org/guide/reference/api/bulk.html)
- refresh interval (which is the interval at which ES makes indexed docs  
available for search - and the operation is quite expensive):  
[Elastic — The Search AI Company | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-update-settings.html)

## Best regards, Radu

[http://sematext.com/](http://sematext.com/) -- Elasticsearch -- Solr -- Lucene

On Wed, Jan 30, 2013 at 1:05 PM, Guna [gunaseks@gmail.com](mailto:gunaseks@gmail.com) wrote:

> Hi,
> 
> This is my first post to ES group.
> 
> As requirement demand, I have created nested document to full fill my  
> need. I have experienced _major time consuming_ on indexing _nested  
> document_. I have single node for this test.
> 
> Is any way i can improve performance of indexing of Nested document?
> 
> Thank you,  
> guna.
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:53am UTC](https://discuss.elastic.co/t/nested-document-indexing-performance-how-to-improve/10554/3 "2017-07-06T02:53:51Z")

</div>


