Skip to content

samir321-pixel/Django_Elastic_Search

Repository files navigation

Open Source Love 

Django_Elastic_Search

Introduction

  • Elastic Search Integration With Django

💻 Technology Stack

  • Backend
    • Django
    • Elastic Search
    • Django Rest Framework

🚀  Setup Instructions

First, clone the repository to your local machine:

git clone  https://github.com/samir321-pixel/Django_Elastic_Search.git

Download Elastic Search:

https://www.elastic.co/downloads/elasticsearch

Download JDK

https://www.oracle.com/java/technologies/downloads/#jdk17-windows

Install the requirements:

pip install -r requirements.txt

Run Elastic search From Elastic search Folder:

path :\elasticsearch-7.14.1-windows-x86_64\elasticsearch-7.14.1\bin

elasticsearch.bat

Check Elastic Search On Server:

http://localhost:9200/

Check Document Information On Server:

http://localhost:9200/elastic_demo

Create Superuser

python manage.py createsuperuser

Done!

Finally, run the development server:

python manage.py runserver

Import Data using API:

http://127.0.0.1:8000/Demo/Elastic_Demo/

Rebuild Elastic Index

python manage.py search_index --rebuild

🛰️ Postman Collection

https://www.getpostman.com/collections/2370b8a0963fcf4215e7

Screenshots

Capture1 Capture2 Capture3 Capture4

🌏 Browser Support

Chrome Chrome IE Internet Explorer Edge Edge Safari Safari Firefox Firefox
Yes 10+ Yes Yes Yes

📘 Useful Resources

Like This?? Star ⭐ this Repo.

Made By Samir Saitwal with ❤️

Samir Saitwal © 2021

Project Admin

Maintenance