Is there a way to specify which fields to include/exclude from _all using
just the Java API? I'm currently indexing data using XContentBuilder (do
not have separate json mappings) like this:
XContentBuilder builder = jsonBuilder().startObject()
.field("datefield", new Date())
I would like to exclude things like dates, numeric fields, etc. Is it
necessary to create json mappings to have this fine-grained of control?
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 firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8bd090af-bfa1-4794-9ea6-852691bc63d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.