quocdaijr / example-extend-python-elasticsearch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An example extend from Python Elasticsearch package

###Struct

  • es.py: File contains class extend from Python Elasticsearch with some basic methods.
  • index.py: File contains Index classes.
  • example.py: 1 example

###Usage

Create virtual env

Edit config Es host and port

Run example: python example.py to see result

###Note:

You must have Elasticsearch server before run

###Contributes

You can help me improve this code. Thank you!

About

License:MIT License


Languages

Language:Python 100.0%