Giter VIP home page Giter VIP logo

elasticsearch-csv's People

Contributors

alim-akbashev avatar jprante avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

elasticsearch-csv's Issues

add _version in the output

How to add _version in the output? Query below does not return _version of the doc:

GET /_search_csv?with_id&with_index&keys=_id,_version,_timestamp,fielda&size=10
{
"fields" : [ "_source","_version","_timestamp"]
,"query": {
"match_all": {}
}
}

NullPointerException with elasticsearch-csv version 1.3.0.0

Running ES 1.3.4 with java 1.7.0_51 and installed the 1.3.0.0 plug-in. github says that it works with ES 1.3.2 and I was hoping it would work with 1.3.4 as well. cluster re-start was fine

loaded [csv-1.3.0.0-55f146c, jdbc-1.3.4.4-d2e33c3, knapsack-1.3.2.0-d5501ef], sites [bigdesk, head]

and there were no problems with the cluster (running locally on port 9200) which has an index/type of order/header. However, running

curl -XGET "http://localhost:9200/order/_search_csv"
or
curl -XGET "http://localhost:9200/order/header/_search_csv"

or doing the same as a POST, I get a response of

{"error":"NullPointerException[null]","status":500}

Is the plugin compatible with ES 1.3.4? And if so, what am I missing?

Thanks in advance. Keep up the great work!

CSV Export for a query

It would be good if you can include a query parameter , where we can pass a query and get the results back as CSV

Request Not Working with New Version of Elasticsearch

This is all I get. The formats are good because it previously worked but I don't want to run a vulnerable version of elasticsearch as you know. I'm running 1.6.0 and the following output is all I get.

{"error":"ElasticsearchIllegalArgumentException[No feature for name [_search_csv]]","status":400}

Unable to start ES 1.4.1 or 1.4.2 with this plugin installed

This plug-in is very useful - thank you!

However, when I try to start ES 1.4.1 or 1.4.2 with this plugin installed, the cluster won't start and there is no error (looks like no cluster master is elected but that's just a guess since there are no log entries indicating that). Trying to start 1.4.2 with latest version of river-jdbc, head and bigdesk starts the cluster as expected but install this plugin and the cluster start up just hangs.

Logs show

[2014-12-28 20:27:59,603][INFO ][node ] [Man-Thing] initializing ...
[2014-12-28 20:27:59,650][INFO ][plugins ] [Man-Thing] loaded [jdbc-1.4.0.6-664f819, csv-1.3.0.0-55f146c], sites [bigdesk, head]

and then nothing.

Any chance of getting this updated to be 1.4 compatible? Thanks again!

multi-value fields not working

When a key passed as parameter references a multi-value field, it won't bring any values to this field in the resulting csv

Elasticsearch 1.4.0

On Elasticsearch 1.4.0 on starting elasticsearch after installing elasticsearch-csv the following error occurs:

`{1.4.0}: Initialization Failed ...

  1. NoSuchMethodError[org.elasticsearch.rest.BaseRestHandler.(Lorg/elasticsearch/common/settings/Settings;Lorg/elasticsearch/client/Client;)V]`

Not compatible with 1.6.0 ElasticSearch version

Hi,
I have been using this plugin and it works for ElasticSearch version 1.5.0.
After I upgrade ElasticSearch to version 1.6.0, I get this error when using this plugin:
{
"error": "NoSuchMethodError[org.elasticsearch.rest.BytesRestResponse.(Lorg/elasticsearch/rest/RestStatus;Ljava/lang/String;Lorg/elasticsearch/common/bytes/BytesReference;Z)V]",
"status": 500
}

Are you planning to release a new version which is compatible with ES version 1.6.0?

In the logfile, it says:
[2015-07-15 03:51:09,755][ERROR][csv ] org.elasticsearch.rest.BytesRestResponse.(Lorg/elasticsearch/rest/RestStatus;Ljava/lang/String;Lorg/elasticsearch/common/bytes/BytesReference;Z)V
java.lang.NoSuchMethodError: org.elasticsearch.rest.BytesRestResponse.(Lorg/elasticsearch/rest/RestStatus;Ljava/lang/String;Lorg/elasticsearch/common/bytes/BytesReference;Z)V
at org.xbib.elasticsearch.rest.csv.CSVToXContentListener.buildResponse(CSVToXContentListener.java:104)
at org.xbib.elasticsearch.rest.csv.CSVToXContentListener.buildResponse(CSVToXContentListener.java:27)
at org.elasticsearch.rest.action.support.RestResponseListener.processResponse(RestResponseListener.java:43)
at org.elasticsearch.rest.action.support.RestActionListener.onResponse(RestActionListener.java:49)
at org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction$2.doRun(TransportSearchQueryThenFetchAction.java:152)
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:36)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

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.