have bool json filter extend the base one
This commit is contained in:
parent
93e14e06c9
commit
ab5378ad28
|
@ -24,7 +24,7 @@ import org.elasticsearch.util.json.JsonBuilder;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author kimchy (Shay Banon)
|
* @author kimchy (shay.banon)
|
||||||
*/
|
*/
|
||||||
public abstract class BaseJsonFilterBuilder implements JsonFilterBuilder {
|
public abstract class BaseJsonFilterBuilder implements JsonFilterBuilder {
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ import org.elasticsearch.util.json.StringJsonBuilder;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author kimchy (Shay Banon)
|
* @author kimchy (shay.banon)
|
||||||
*/
|
*/
|
||||||
public abstract class BaseJsonQueryBuilder implements JsonQueryBuilder {
|
public abstract class BaseJsonQueryBuilder implements JsonQueryBuilder {
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ import java.util.ArrayList;
|
||||||
*
|
*
|
||||||
* @author kimchy (shay.banon)
|
* @author kimchy (shay.banon)
|
||||||
*/
|
*/
|
||||||
public class BoolJsonFilterBuilder extends BaseJsonQueryBuilder {
|
public class BoolJsonFilterBuilder extends BaseJsonFilterBuilder {
|
||||||
|
|
||||||
private ArrayList<Clause> clauses = new ArrayList<Clause>();
|
private ArrayList<Clause> clauses = new ArrayList<Clause>();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue