git clone https://github.com/bultakov/DRF-ElasticSearch.gitcd DRF-ElasticSearchpython manage.py shellfrom search.documents import ProductDocument
products = ProductDocument.search().query('match', name='mahsulot')
for product in products:
print(f"Name: {product.name}, Type: {product.product_type}")