After looking at this question: ElasticSearch default scoring mechanism, I would like to use "dfs_query_then_fetch" rather than the default "query_then_fetch" search type. However, I am using elasticsearch-js client, and I can't figure out how to specify this. Does anyone know?
As per the documentation you should be able to achieve this by specifying the
searchType option.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments