Migrating from java client 1.4.2 to the 8 client

Hi there,

I have been tasked with migrating an ancient Elasticsearch v1.5.1 cluster and the associated java service using the Elasticsearch 1.4.2 java client (elasticsearch-1.4.2.jar). Whilst the migration of the cluster was relatively easy, the client is proving much harder.

At the moment, I am trying to evaluate the amount of work needed and I want to see how the classes evolve from version to version. For example.

[org.elasticsearch.index.query.FilteredQueryBuilder](https://javadoc.io/static/org.elasticsearch/elasticsearch/2.4.0/org/elasticsearch/index/query/FilteredQueryBuilder.html)

*Use [`BoolQueryBuilder`](https://javadoc.io/static/org.elasticsearch/elasticsearch/2.4.0/org/elasticsearch/index/query/BoolQueryBuilder.html) instead.* 

However the earliest that I can go back to is version 2.4 and I cannot see the evolution before that. I know some of the classes below don't even make it to 2.4 but I can't find out what their replacements are.

We don't use a huge amount of classes.

import org.elasticsearch.index.query.BaseFilterBuilder;
import org.elasticsearch.index.query.BaseQueryBuilder;
import org.elasticsearch.index.query.BoolFilterBuilder;
import org.elasticsearch.index.query.BoolQueryBuilder;
import org.elasticsearch.index.query.FilterBuilders;
import org.elasticsearch.index.query.FilteredQueryBuilder;
import org.elasticsearch.index.query.MatchQueryBuilder;
import org.elasticsearch.index.query.PrefixQueryBuilder;
import org.elasticsearch.index.query.QueryBuilders;
import org.elasticsearch.index.query.TermFilterBuilder;

I was wondering whether anyone else had gone through a similar process and would be able to guide me as to where I may find this missing documentation.

Thank you.

May be this could help: