How to profile search query in elasticsearch 1.6?


(Himanshu Jain) #1

How can I profile search query in elasticsearch 1.6 since ProfileAPI is not available for this version?


(David Pilato) #2

You can't.
Upgrade.


(Himanshu Jain) #3

Thanks..
Which version would be ideal to upgrade for production environment?


(Mark Walkom) #4

We always recommend the latest, so 5.0.0.
But I think 1.7.6 is the latest in the 1.X stream.


(Himanshu Jain) #5

I have a little shy about the latest versions, and okay with most stable below latest.
If I'm going to upgrade, is 5.0 a reliable one for production real time or should I opt for just below 5.0 which is 2.4.1?

Or any feature in 5.0 which is helpful and not available in 2.4.1?


(Christian Dahlqvist) #6

There are a lot of improvements in 5.0, but as I don't know anything about your use case it is hard to tell which ones would be relevant or not. There are also some changes to the query DSL, so it may mean less changes to go to 2.4.1. Another consideration is how easy your data is to migrate, and you should run the migration plugin to identify any potential issues. If it turns out you need to reindex, you may save one migration later by going directly to 5.0.


(Himanshu Jain) #7

Thanks, it helps :slight_smile:


(system) #8

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.