easy-es icon indicating copy to clipboard operation
easy-es copied to clipboard

SearchResponse结果与直接执行DSL中获取的结果不一致

Open Ethons opened this issue 2 years ago • 1 comments

  1. 版本: easy-es-boot-starter.version 版本为1.0.3 ,elasticsearch版本为:7.2.0
  2. 使用Suggest推荐词条,DSL为: {"_source":{"includes":["ayCompletion"],"excludes":[]},"suggest":{"ayCompletion":{"prefix":"合","completion":{"field":"ayCompletion","size":10,"skip_duplicates":true}}}}
  3. SearchResponse结果中条目为两条,但是DSL的options中为5条
  4. java代码为:java代码
  5. DSL执行结果为: DSL结果

Ethons avatar Jan 31 '23 06:01 Ethons

需要提供索引结构截图以及实际查询走的索引,DSL执行工具执行时有5条很可能给是查询时未指定索引,从所有索引中进行查询了

xpc1024 avatar May 17 '23 12:05 xpc1024