How to deal with the fields you don't mean to index but you need it after query?

Heya

Should I set the fields that I do not want index as "no" or
"not_analyzed"?
Any help would be appreciated!

"no" is the correct value if you don't want the fields to be searchable.
"analyzed" is only useful for fields of type "string", and indicates
that the field should be searchable, and that it's value should be
passed through the analysis process before being indexed.

For non-string fields, the options are "no" or "not_analyzed" (as
non-strings never have an analysis process)

clint

--
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.
For more options, visit https://groups.google.com/groups/opt_out.