# Index design and best practices

**URL:** <https://discuss.elastic.co/t/index-design-and-best-practices/5579>\
**Category:** Elasticsearch\
**Created:** [October 12, 2011, 4:28pm UTC](https://discuss.elastic.co/t/index-design-and-best-practices/5579 "2011-10-12T16:28:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)\
**Post date:** [October 12, 2011, 4:28pm UTC](https://discuss.elastic.co/t/index-design-and-best-practices/5579/1 "2011-10-12T16:28:09Z")

</div>

When designing the format of index Json doc is there any best practice  
that one should keep in mind. Or some Lucene best practices?

Or is it as simple as whatever you want to index just throw it in  
elasticsearch in field: value format? Just trying to get grasp of how  
it should be designed so that it fairs well long term.

Thanks

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [October 12, 2011, 9:22pm UTC](https://discuss.elastic.co/t/index-design-and-best-practices/5579/2 "2011-10-12T21:22:50Z")

</div>

Yes, its as simple as putting what oyu want to be indexed into the json (and  
even, possibly, data you don't want to be indexed, and explicitly mapping  
those field with index set to no). More fine grained control can be made per  
field using mapping.

On Wed, Oct 12, 2011 at 6:28 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:

> When designing the format of index Json doc is there any best practice  
> that one should keep in mind. Or some Lucene best practices?
> 
> Or is it as simple as whatever you want to index just throw it in  
> elasticsearch in field: value format? Just trying to get grasp of how  
> it should be designed so that it fairs well long term.
> 
> Thanks

---

<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, 3:52am UTC](https://discuss.elastic.co/t/index-design-and-best-practices/5579/3 "2017-07-06T03:52:10Z")

</div>

Closed on July 6, 2017, 3:52am UTC


