¿Expected results?


(Enrique Medina Montenegro) #1

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.


(Shay Banon) #2

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:

https://gist.github.com/822390

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

https://gist.github.com/822392

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

Thanks.


(Enrique Medina Montenegro) #3

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:

https://gist.github.com/822390

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

https://gist.github.com/822392

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

Thanks.


(system) #4