Can anyone help me with fuzziness

q = Q(
                        'bool',
                        must=[Q('match', text__lyric={"query":query,"fuzziness":"AUTO"}), Q('match', code=query)],
                        minimum_should_match=20,
                    )| Q(
                        'multi_match',
                        query = query,
                        fields = ['item_id.group_id._*name','item_id.group_id._name*','item_id.group_id.name_2gram','item_id.group_id.name_3gram','item_id.group_id.name','item_id.group_id.category_id.name','item_id.group_id.category_id.name_2gram','item_id.group_id.category_id.name_3gram','item_id.group_id.category_id._*name','item_id.group_id.category_id.name_*','item_id.name','item_id.name_2gram','item_id.name_3gram','item_id._*name','item_id.name_*''name','*_name','name_*','name._2gram','name._3gram','name._4gram'],
                        type="phrase",
                        max_expansions = 3,
                        boost=1,
                        prefix_length=0,
                        slop=3,
                    ) | Q(
                        'wildcard',
                        name={"value":f"*{query}"},
                    ) | Q(
                        'wildcard',
                        name={"value":f"{query}*"},
                    )

Here , the fuzziness is not working , note: am using this for search suggestion
what's wrong here ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.