Skip to content

Integrate Elasticsearch DSL with Django REST framework in the shortest way possible, with least efforts possible.

Notifications You must be signed in to change notification settings

bultakov/DRF-ElasticSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DRF ElasticSearch

Example

Download project

git clone https://github.com/bultakov/DRF-ElasticSearch.git
cd DRF-ElasticSearch
python manage.py shell
from search.documents import ProductDocument

products = ProductDocument.search().query('match', name='mahsulot')
for product in products:
    print(f"Name: {product.name}, Type: {product.product_type}")

About

Integrate Elasticsearch DSL with Django REST framework in the shortest way possible, with least efforts possible.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages