GithubHelp home page GithubHelp logo

esriver's Introduction

Elasticsearch River for Elasticsearch

Welcome to the Elasticsearch River Plugin for Elasticsearch

Getting Started

Installation

Just type :

$ bin\plugin -install dadoonet/esriver/0.0.1

This will do the job…

-> Installing dadoonet/esriver/0.0.1...
Trying https://github.com/downloads/dadoonet/esriver/rssriver-0.0.1.zip...
Downloading ...DONE
Installed esriver

Creating an Elasticsearch river

TODO

We create first an index to store all the documents :

$ curl -XPUT 'localhost:9200/escopy/' -d '{}'

We create the river with the following properties :

  • ES Source URL : http://localhost:9200/
$ curl -XPUT 'localhost:9200/_river/escopy/_meta' -d '{
  "type": "es",
  "es": {
    "url": "http://localhost:9200/"
  }
}'

Working with mappings

When you create your index, you can specify the mapping you want to use as follow :

$ curl -XPUT 'http://localhost:9200/escopy/' -d '

$ curl -XPUT 'http://localhost:9200/escopy/page/_mapping' -d '{
    "page" : {
        "properties" : {
            "title" : {"type" : "string", "analyzer" : "french"},
            "description" : {"type" : "string", "analyzer" : "french"},
            "author" : {"type" : "string"},
            "link" : {"type" : "string"}
        }
    }
}'

Then, your feed will use it when you create the river :

$ curl -XPUT 'localhost:9200/_river/lefigaro/_meta' -d '{
  "type": "rss",
  "rss": {
    "url": "http://rss.lefigaro.fr/lefigaro/laune"
  }
}'

Behind the scene

TODO

To Do List

Many many things to do :

  • TODO

esriver's People

Contributors

dadoonet avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

spancer

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.