Giter Site home page Giter Site logo

sachuin23 / aws-es-connection Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elelsee/aws-es-connection

0.0 2.0 0.0 113 KB

Python Elasticsearch Client connection class for AWS Elasticsearch Service

License: Apache License 2.0

Python 100.00%

aws-es-connection's Introduction

aws-es-connection

Python Elasticsearch Client Connection Class for AWS Elasticsearch Service

Usage:

from awses.connection import AWSConnection
from elasticsearch import Elasticsearch

es = Elasticsearch(connection_class=AWSConnection,
                   region='us-east-1',
                   host='search-domain-b4tn7dis4q2epw6g37akda6nh4.us-east-1.es.amazonaws.com')

es.search()
{u'_shards': {u'failed': 0, u'successful': 5, u'total': 5},
 u'hits': {u'hits': [], u'max_score': None, u'total': 0},
 u'timed_out': False,
 u'took': 1}

es.info()
{u'cluster_name': u'620726645985:domain',
 u'name': u'Bloodlust',
 u'status': 200,
 u'tagline': u'You Know, for Search',
 u'version': {u'build_hash': u'62ff9868b4c8a0c45860bebb259e21980778ab1c',
  u'build_snapshot': False,
  u'build_timestamp': u'2015-04-27T09:21:06Z',
  u'lucene_version': u'4.10.4',
  u'number': u'1.5.2'}}

aws-es-connection's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.