Problem with bool query

Hi, I've a question about bool query.

Here you can see my configuration and an example of the query and the one
document , https://gist.github.com/ballbrk/5246152.

The problem that the query didn't return any source .

Could you help me ?

Regards

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey there,

I was unable to reproduce your issue using your gist, as I could not index
the product json. Also the amount of fields is quite a lot (you are only
querying a part of it), so it would be great if you could provide a minimal
example. This simplifies the issue to solve.

What you can try locally is to use the explain API to get more information
why a document is (not) matching
http://www.elasticsearch.org/guide/reference/api/search/explain/

Also your query is faster on subsequent requests, if you are using a filter
instead of a query (but does not change functionality, so first priority is
to work as expected).

--Alex

On Tue, Mar 26, 2013 at 4:20 PM, Bartolome Serapio tolo@mola.com wrote:

Hi, I've a question about bool query.

Here you can see my configuration and an example of the query and the one
document , https://gist.github.com/ballbrk/5246152.

The problem that the query didn't return any source .

Could you help me ?

Regards

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Your mapping is for 'products' and your document is for 'product'.

--
Ivan

On Tue, Mar 26, 2013 at 8:20 AM, Bartolome Serapio tolo@mola.com wrote:

Hi, I've a question about bool query.

Here you can see my configuration and an example of the query and the one
document , https://gist.github.com/ballbrk/5246152.

The problem that the query didn't return any source .

Could you help me ?

Regards

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.