BoolJsonFilterBuilder extends BaseJsonQueryBuilder


(Ólafur Gauti Guðmundsson) #1

Hi,
First of all, thanks for a great library. I'm using the Java API, and
I have run into a small problem.
The class org.elasticsearch.index.query.json.BoolJsonFilterBuilder is
declared in the following way:

public class BoolJsonFilterBuilder extends BaseJsonQueryBuilder {
    ...
}

This looks like a bug. Should it not extend BaseJsonFilterBuilder
instead?
This prevents me from using BoolJsonFilterBuilder as
JsonFilterBuilder.

Regards,
OGG


(Shay Banon) #2

Yes, you are correct. I have just pushed a fix for this, sorry!.

cheers,
shay.banon

2010/4/11 Ólafur Gauti Guðmundsson oli.gauti@gmail.com

Hi,
First of all, thanks for a great library. I'm using the Java API, and
I have run into a small problem.
The class org.elasticsearch.index.query.json.BoolJsonFilterBuilder is
declared in the following way:

public class BoolJsonFilterBuilder extends BaseJsonQueryBuilder {
...
}

This looks like a bug. Should it not extend BaseJsonFilterBuilder
instead?
This prevents me from using BoolJsonFilterBuilder as
JsonFilterBuilder.

Regards,
OGG


(system) #3