I am at wits end trying to get the File System river to work. Here are the commands and output. It looks like everything is started and working correctly, yet the river never collects any files. I doubled checked the tmp directory and has plenty of files.
Can anyone please assist? I'm sure its something easy I'm missing. THis is my first run at elasticsearch, so please bear with my newbe-ness.
I also am using logstash and elasticsearch is working great with it, so elasticsearch is operating properly from what I can tell.
elasticsearch version=0.20.6
bin/plugin -install fr.pilato.elasticsearch.river/fsriver/0.1.0
Downloading ........DONE
Installed fsriver
bin/plugin -install elasticsearch/elasticsearch-mapper-attachments/1.6.0
Downloading ........DONE
Installed mapper-attachments
elasticsearch restart
curl -XPUT 'localhost:9200/mydocs/' -d '{}'
{"ok":true,"acknowledged":true}
curl -XPUT 'localhost:9200/_river/mydocs/_meta' -d '{
"type": "fs",
"fs": {
"name": "tmp directory",
"url": "/tmp",
"update_rate": 60000
}
}'
{"ok":true,"_index":"_river","_type":"mydocs","_id":"_meta","_version":1}
curl -XGET 'http://localhost:9200/mydocs/_search?q=taxe'
{"took":2,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":0,"max_score":null,"hits":[]}}
Thanks,
Robert