Match only exists as a query. Term exists as a filter and as a query. Think about queries as full text search. Filters are like SQL. They "only" limit the dataset your are going to query on.
You should read http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/search.html HTH -- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs > Le 16 juil. 2014 à 16:07, Dark Globe <[email protected]> a écrit : > > Just found that replacing "match" for "term" in my second filter condition > runs without error...but doesn't actually work so no results are returned > when 1 should be :/ > > I'm sure I'm getting closer and I'm sure I shouldn't be finding this such a > struggle! > > Any pointers are welcome and appreciated. > -- > 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/f706abeb-461f-49e7-8f15-5cf6bf86cc0f%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/D566800F-B75E-4F9C-BD38-C400FC11D81A%40pilato.fr. For more options, visit https://groups.google.com/d/optout.
