Different core types in single multi_field

Hi,

Can I have different(String, integer, etc) core types in a single
multi_field?
If not, then how to create a custom "_all" field that conatins values
from selected fields in the document?

Regards,
Preeti

--
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/3121ae92-5924-479d-92d8-d395c0856221%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey,

usually you are using a multi field to have different behaviour for
strings, using it for an int and a double does not make a lot of sense,
maybe you can tell a bit more about your use-case.

Regarding a custom _all field: You can configure for every field, if it
should be put in the all field or not, see the include_in_all option in the
mapping. See

--Alex

On Mon, Dec 16, 2013 at 7:41 AM, Preeti Jain itspreeti@gmail.com wrote:

Hi,

Can I have different(String, integer, etc) core types in a single
multi_field?
If not, then how to create a custom "_all" field that conatins values
from selected fields in the document?

Regards,
Preeti

--
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/3121ae92-5924-479d-92d8-d395c0856221%40googlegroups.com
.
For more options, visit 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-VfVpKbSvnehhBmzjjeME7bG4NBK2sKNCyiSiFSZRRkw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

On Mon, Dec 16, 2013 at 1:41 AM, Preeti Jain itspreeti@gmail.com wrote:

Hi,

Can I have different(String, integer, etc) core types in a single
multi_field?
If not, then how to create a custom "_all" field that conatins values
from selected fields in the document?

Sure you can. See

an example.

Nik

--
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/CAPmjWd2AGF7R%3DMXnjLVgQPZTXtk6guF56EQDki5_WvFkQnxdiA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.