querydsl

Using shingles and fuzziness in Elasticsearch Python DSL?

Using shingles and fuzziness in Elasticsearch Python DSL? Question: How do you call shingles in Python DSL? This is a simple example that searches for a phrase in the “name” field and another one in the “surname” field. import json from elasticsearch import Elasticsearch from elasticsearch_dsl import Search, Q def make_dsl_query(fields): “”” Construct a query …

Total answers: 2