¿Expected results?

Hi,

I just noticed an unexpected (IMHO) result when trying the following query:

As it has no results, but it does have facets though, the result is:

So my code interprets that there is actually 1 result, as total = 1. Is this
expected behaviour or not?

Thanks.

You specify the from to be 1, from is 0 based, maybe thats the problem?
On Friday, February 11, 2011 at 4:10 PM, Enrique Medina Montenegro wrote:

Hi,

I just noticed an unexpected (IMHO) result when trying the following query:

JSON query · GitHub

As it has no results, but it does have facets though, the result is:

Result JSON for ES query · GitHub

So my code interprets that there is actually 1 result, as total = 1. Is this expected behaviour or not?

Thanks.

Yeah, that was the issue. Gotcha on my side!!!

On Sat, Feb 12, 2011 at 4:27 PM, Shay Banon shay.banon@elasticsearch.comwrote:

You specify the from to be 1, from is 0 based, maybe thats the problem?

On Friday, February 11, 2011 at 4:10 PM, Enrique Medina Montenegro wrote:

Hi,

I just noticed an unexpected (IMHO) result when trying the following query:

JSON query · GitHub

As it has no results, but it does have facets though, the result is:

Result JSON for ES query · GitHub

So my code interprets that there is actually 1 result, as total = 1. Is
this expected behaviour or not?

Thanks.