Facet Queries in count API and multiPropertyQueryString


(tfreitas) #1

Hi shay

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

In "count API" could have Facet Queries ?

cheers
Tony


(Shay Banon) #2

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


(tfreitas) #3

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


(Shay Banon) #4

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

http://github.com/elasticsearch/elasticsearch/issues/#issue/190

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


(system) #5