Hi, 

   We are making changes to schema to have a new index(w/ new schema) but
still support old index (w/ old schema) for search. 

We currently have date_histogram computed on a date time field as given
below. 
"date_histogram": {
                        "field": "closeDt",
                        "interval": histo_interval
}

where closeDt is time in milliseconds and histo_interval is week/month/hour
interval range

With new schema also to be supported, the new schema has closeDt in a
different json structure like 
cs.common.closeDt (also time in milliseconds). 

how can we have the histogram computed on both the fields (w/ same data
type) ?

Thanks, Vinoth





--
View this message in context: 
http://elasticsearch-users.115913.n3.nabble.com/date-histogram-on-multiple-fields-tp4050256.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

-- 
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/1393019639767-4050256.post%40n3.nabble.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to