Date model for elastic search document

Can some one help me in designing /making me understanding how should I
design class/json structure ?

I have document that can have some standard set of fields which I know but
I have dynamic fields (user can create his own fields )

What should be the document structure /json structure for the document in
this case ?

For example :

I have document with known /standard fields like file name ,author and all

but this document can also dynamic set of fields like "Field1","Field2" and
"Field3"

Regards,
Nagaraju

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f5a87e4c-9cac-441c-9cb3-4e0dbf32528d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Look at nested docs, where you have the static part which is the parent,
and then any dynamic data in the child.

On 18 April 2015 at 15:33, bvnrwork budda08nitt@gmail.com wrote:

Can some one help me in designing /making me understanding how should I
design class/json structure ?

I have document that can have some standard set of fields which I know but
I have dynamic fields (user can create his own fields )

What should be the document structure /json structure for the document in
this case ?

For example :

I have document with known /standard fields like file name ,author and all

but this document can also dynamic set of fields like "Field1","Field2"
and "Field3"

Regards,
Nagaraju

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/f5a87e4c-9cac-441c-9cb3-4e0dbf32528d%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/f5a87e4c-9cac-441c-9cb3-4e0dbf32528d%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEYi1X_mcdbVFPAB4UfKKzpj_B2bRQ-dox-i3eOC9OBfp8NzoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.