Ville,

By default, the _all field includes all of the indexed field. Then, for 
your private fields, explicitly exclude them from the _all field by adding 
the following to their properties:

"include_in_all" : false


See the ES guide for more details, Specifically, 
this<http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-all-field.html>might
 help.

I typically disable the _all field completely to cut down dramatically on 
disk space and build times. But everything else in ES has worked like a 
charm, so I'm sure this would work for you without too much trouble. Good 
luck!

Brian

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/54d7375c-2644-4b81-8e0e-51e74140f0aa%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to