I don't understand. There's a MultiSearchRequest and a MultiSearchResponse but no way of executing a request to get a response via the RestHighLevelClient?
So do I need to use the low level client, or revert to using the TransportClient?
Ok, thanks! We are moving to 6.x, but 6.x won't read indices created in 2.x. So I need to move to the latest version of 5.x, reindex the data, then snapshot and restore onto 6.x..., and there are some other things I need to do that involve no-downtime for users etc. It's complicated, but basically, users may have to query from the 5.x cluster at some point, hence using the 5.x client.
I am tempted to do something else though to prevent that and move them straight to 6...
Do you mean do reindexing over the wire? Wouldn't it be faster to reindex on disk?
I'm assuming this is what you mean because the documentation specifically states that you cannot restore a v2 snapshot to a v6 cluster...?
Sure, but given that it's going to take > 3 weeks on a 9-node cluster to reindex the data when its co-located on disk, then I feel that doing it across the wire is a bad idea...? Am I wrong?
Especially when users are currently hitting the v2 cluster with gusto.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.