I don't quite understand how to use the river-csv tool.
I am passing it this:
curl -XPUT localhost:9200/_river/my_csv_river/_meta -d '
{
"type" : "csv",
"csv_file" : {
"folder" : "/home/ec2-user/tweets",
"first_line_is_header":"true"
},
"index" : {
"index" : "categories",
"type" : "tweet",
"bulk_size" : 100,
"bulk_threshold" : 10
}
}
and nothing is showing up.
Help!
On Friday, February 28, 2014 11:12:23 PM UTC-5, David Pilato wrote:
>
> You can also look at https://github.com/xxBedy/elasticsearch-river-csv
>
> --
> David ;-)
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
>
>
> Le 1 mars 2014 à 02:29, Raffaele Sena <[email protected] <javascript:>> a
> écrit :
>
> What kind of queries would you want to be performing ?
>
> If you just want to search for any record containing the search terms you
> pass, then you can just index the CSV records as single strings. You still
> need to wrap them in a JSON "document", but it can be
> {"record":"csv-record-thingy"}.
>
> If you want to be able to search or return specific fields, you'll have to
> convert the CSV records into JSON objects like: {"field1": "value1",
> "field2", "value2", ...} or whatever your field names are.
>
> -- Raffaele
>
>
>
> On Fri, Feb 28, 2014 at 5:07 PM, <[email protected] <javascript:>> wrote:
>
>> I am a nebiew to elastic search. I have eleastic search and head running
>> on a VM. Can someone point me to the steps to index a csv file and search
>> from it.
>> Your asistance would be greatly appreciated.
>> Thanks,
>> Vidya
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "elasticsearch" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/elasticsearch/00ea65f8-2f4c-40d3-b5b9-bf56e8b70000%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/CANKfucYsAnsG%3DGq32H5snVv4PXwHPut1-Be0Da9jA%2BOuOP2NRw%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/ca0bdd96-55a4-49f5-bd12-26a9e4a748a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.