Hi,
We use elasticsearch to store financial stock data, and was wondering if there is any optimizations that can be done to improve the performance w.r.t timeseries data.
We have around 3 million documents on a 2 node cluster. We have a field in the documents called "Time" which holds date+time value till milliseconds in epoch format, ex: 1448841600000.
Our basic use-case is to fetch the given number of the documents going back in time. Ex: Fetch the latest 1000 documents. This takes 5 seconds currently.
I was wondering if there is any tweaking that can be done so that elasticsearch optimizes the way it stores data for such usecases ?
Our current mapping for "Time" field:
"Time": {
"type": "long",
"fielddata": { }
},
Any help is appreciated.
Thanks,
Srikanth