模糊弹性搜索

时间:2017-01-12 10:12:01

标签: elasticsearch

fromSimilarity方法不支持Elastic Saecrh 2.4

 QueryBuilders.fuzzyQuery(IdxSchemaConstants.ENTITY_NAME_SUGGEST, input.toLowerCase()).fuzziness(Fuzziness.fromSimilarity(0.6f));

0 个答案:

没有答案