GithubHelp home page GithubHelp logo

elasticsearchredis's Introduction

Integrating Redis and ElasticSearch in Python

This application consists of mainly 3 apis

  1. POST /index - This takes in a sample message and indexes into ElasticSearch and Redis.
  2. GET /index - This gets the data from Redis
  3. GET /search - This searches data from ElasticSearch.

API 1

Method: POST

URL: /index

Takes a json of the form

{
	"content" : "<Message Content>"
}

It takes the message and indexes it to ElasticSearch and add this message to Redis

API 2

Method: GET

URL: /index

retrieves all the messages added.

API 3

Method: GET

URL: /search/

Takes the and searches over existing messages in ElasticSearch and return a json with the results.

elasticsearchredis's People

Contributors

sidd607 avatar

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.