Toggle navigation
Home
org.elasticsearch.client.Client to org.elasticsearch.client.RestHighLevelClient
No. of Instances - 84
No. of Commits - 10
No. of Projects - {'james-project'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: External -> External
Mapping:
Add or Remove Method invocation
Iterators.toStream(client.admin().indices().prepareGetMappings(indexName.getValue()).execute().actionGet().getMappings().valuesIt())
to
Iterators.toStream(client.indices().getMapping(new GetMappingsRequest().indices(indexName.getValue()),RequestOptions.DEFAULT).mappings().values().iterator())
mapping.keys().contains(typeName.getValue())
to
mapping.type().contains(typeName.getValue())
field.getValue()
to
getId
ElasticSearchConfiguration.builder().addHost(elasticSearch.getTcpHost()).build()
to
ElasticSearchConfiguration.builder().addHost(elasticSearch.getHttpHost()).build()
QueryBuilders.matchAllQuery()
to
RequestOptions.DEFAULT
Arrays.stream(client.prepareSearch().setQuery(RequestOptions.DEFAULT).get().getHits().getHits()).filter(searchHit -> searchHit.getIndex().startsWith(TestDockerESMetricReporterModule.METRICS_INDEX)).collect(Collectors.toList()).isEmpty()
to
Arrays.stream(client.search(searchRequest,RequestOptions.DEFAULT).getHits().getHits()).filter(searchHit -> searchHit.getIndex().startsWith(TestDockerESMetricReporterModule.METRICS_INDEX)).collect(Collectors.toList()).isEmpty()
Update argument list (Method invocation)
applyMapping
to
applyMapping
applyMapping
to
applyMapping
applyMapping
to
applyMapping
applyMapping
to
applyMapping