Index design and best practices


(Mohit Anchlia) #1

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


(Shay Banon) #2

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.comwrote:

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


(system) #3