ElasticSearch - cross_fields multi match with fuzzy search

前端 未结 2 1804
名媛妹妹
名媛妹妹 2021-02-02 12:47

I have documents that represent users. They have fields name and surname.

Let\'s say I have two users indexed - Michael Jackson and Michael Sta

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-02 12:59

    To answer your second problem:

    It cannot be set to fuzzy search. I really need the fuzzy search but keep the quality of multi_match with cross_fields type.

    The cross_fields query does not support fuzzy searching. See the issue on GitHub:

    https://github.com/elasticsearch/elasticsearch/issues/6866

提交回复
热议问题