Skip to content

Instantly share code, notes, and snippets.

@miku
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miku/da3e1641174c38a7a4ce to your computer and use it in GitHub Desktop.
Save miku/da3e1641174c38a7a4ce to your computer and use it in GitHub Desktop.

Installed it:

$ sudo /usr/share/elasticsearch/bin/plugin -install csv \
    -url http://xbib.org/repository/org/xbib/elasticsearch/plugin/elasticsearch-csv/1.2.1.1/elasticsearch-csv-1.2.1.1-plugin.zip

Restarted ES:

$ sudo service elasticsearch restart
* Stopping ElasticSearch Server              [ OK ] 
* Starting ElasticSearch Server              [ OK ]                           

It seems to register:

$ curl localhost:9200/_nodes/_all?pretty
...
   "http" : {
        "bound_address" : "inet[/0:0:0:0:0:0:0:0:9200]",
        "publish_address" : "inet[/139.18.19.111:9200]",
        "max_content_length_in_bytes" : 104857600
      },
      "plugins" : [ {
        "name" : "csv-1.2.1.1-ae5bdbc",
        "version" : "1.2.1.1",
        "description" : "REST CSV format plugin",
        "jvm" : true,
        "site" : false
      }, {
        "name" : "head",
        "version" : "NA",
        "description" : "No description found.",
        "url" : "/_plugin/head/",
        "jvm" : false,
        "site" : true
      } ]
    }
  }
}

But:

$ curl localhost:9200/_search_csv
No handler found for uri [/_search_csv] and method [GET]

My ES version:

$ curl localhost:9200
{
  "status" : 200,
  "name" : "Jean Grey-Summers",
  "version" : {
    "number" : "1.3.2",
    "build_hash" : "dee175dbe2f254f3f26992f5d7591939aaefd12f",
    "build_timestamp" : "2014-08-13T14:29:30Z",
    "build_snapshot" : false,
    "lucene_version" : "4.9"
  },
  "tagline" : "You Know, for Search"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment