Facet Queries in count API and multiPropertyQueryString

Hi shay

In compass, there QueryBuilder.multiPropertyQueryString class
In ES, is there something similar?

In "count API" could have Facet Queries ?

cheers
Tony

On Mon, May 24, 2010 at 3:36 AM, tfreitas tfreitas@gmail.com wrote:

Hi shay

In compass, there QueryBuilder.multiPropertyQueryString class
In ES, is there something similar?

Yes, there is something more advance. There is the QueryBuilders#disMaxQuery
which allows for several sub queries.

In "count API" could have Facet Queries ?

Can be done, open an issue for it?

cheers
Tony

done

On May 24, 12:37 am, Shay Banon shay.ba...@elasticsearch.com wrote:

On Mon, May 24, 2010 at 3:36 AM, tfreitas tfrei...@gmail.com wrote:

Hi shay

In compass, there QueryBuilder.multiPropertyQueryString class
In ES, is there something similar?

Yes, there is something more advance. There is the QueryBuilders#disMaxQuery
which allows for several sub queries.

In "count API" could have Facet Queries ?

Can be done, open an issue for it?

cheers
Tony

cool. I don't think I will manage to work on this for the next version, but
its on my TODO list. You can always use search with low size for now (or
even zero, should work, but actually, did not test for it :slight_smile: ).

cheers,
shay.banon

On Mon, May 24, 2010 at 4:02 PM, tfreitas tfreitas@gmail.com wrote:

done

Issues · elastic/elasticsearch · GitHub

On May 24, 12:37 am, Shay Banon shay.ba...@elasticsearch.com wrote:

On Mon, May 24, 2010 at 3:36 AM, tfreitas tfrei...@gmail.com wrote:

Hi shay

In compass, there QueryBuilder.multiPropertyQueryString class
In ES, is there something similar?

Yes, there is something more advance. There is the
QueryBuilders#disMaxQuery
which allows for several sub queries.

In "count API" could have Facet Queries ?

Can be done, open an issue for it?

cheers
Tony