[hibernate-dev] [Search] Elasticsearch TermQuery translation

Guillaume Smet guillaume.smet at gmail.com
Thu Feb 25 09:51:49 EST 2016


Hi Gunnar,

In ToElasticsearch, you have translated the Lucene TermQuery to a match
query [1] in Elasticsearch.

>From what I see, it should be a term query [2] instead. Don't you agree?

[1]
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html
[2]
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-query.html

If you agree, I'll fix it in my tree.

FYI, I'm working on getting the DSLTest working.

-- 
Guillaume


More information about the hibernate-dev mailing list