All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scaleset.search.es.QueryConverter Maven / Gradle / Ivy

There is a newer version: 0.24.0
Show newest version
package com.scaleset.search.es;

import com.scaleset.search.Aggregation;
import com.scaleset.search.Filter;
import org.elasticsearch.action.deletebyquery.DeleteByQueryRequestBuilder;
import org.elasticsearch.action.search.SearchRequestBuilder;
import org.elasticsearch.index.query.FilterBuilder;
import org.elasticsearch.search.aggregations.AbstractAggregationBuilder;

public interface QueryConverter {

    AbstractAggregationBuilder converterAggregation(Aggregation agg);

    FilterBuilder converterFilter(Filter filter);

    DeleteByQueryRequestBuilder deleteRequest();

    org.elasticsearch.index.query.QueryBuilder query();

    SearchRequestBuilder searchRequest();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy