| Yoann Rodière When do we expect that it is included into Lucene=>Elasticsearch query conversion. I have experience different results with search based on
- Lucene only search in comparison to
- Elasticsearch search.
Both had same query(all criteria matched single document), and same filter, with following specific in filter:
- there were inner bool query with:
- only one should which did not match any documents for given data set
- and some others must, must_not which all matched that single document row.
However, Elasticsearch search gave no result but Lucene search gave some result. After I tried to overcome this by setting minimum_should_match to 0 on inner boolean query of the filter, I saw that it did not appeared in generated elastic search query after conversion. We are migrating hibernate search hibernate.search.default.indexmanager from directory-based <hibernate-search.version>5.5.4.Final</hibernate-search.version> to elasticsearch <hibernate-search.version>5.9.3.Final</hibernate-search.version> on top of elasticsearch cluster in version 5.6, this could appear in many places. Could you advise some general approach to this issue? |