Floyd needs to be lowercased if you use a Term Filter or query As it has been indexed in lowercase.
-- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs > Le 16 juil. 2014 à 18:09, Dark Globe <[email protected]> a écrit : > > Thanks David, I did read that section a couple of days back and again just > now but I still don't understand why the final search in my gist does not > return one result. > > If I remove { "term": { "title" : "Floyd" }} and run the script, the final > search returns one result, Pink Floyd. > > But I think it should also return that same result with the term filter { > "term": { "title" : "Floyd" }} added. But it doesn't. > > I still do not understand why this is or what I am doing wrong :/ > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/20ead9ad-bead-497f-b0f1-6786e9fc8ab0%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2EB2635B-5B67-4B9C-8650-31AF29B43DEC%40pilato.fr. For more options, visit https://groups.google.com/d/optout.
