Hello I am trying to use the FSRiver plugin for elastic search to index a
directory of documents. So far I have downloaded to zip on my mac. Used
FileZilla to put the files on the linux machine. Then I created a river.
This is the command I put in:
curl -XPUT localhost:9200/historicdata/ -d '{
"type": "fs",
"fs": {
"url": "~/elkdata",
},
"index": {
"index": "historicdata",
"type": "documents",
"bulk_size": 25,
"flush_interval": "30s"
}
}'
this went through and gave me an acknowledge: true and it created my index
but when I go to search nothing is in the index. The reason I didn't put
localhost:9200/historicdata/documents/ -d .... is because when I did it
told me the handler was unknown.
Then I tried installing FSRiver so I put this in:
python3 release.py
Output:
Traceback (most recent call last):
File "/home/aharmon/fsriver-master/plugin_tools/build_release.py", line
23, in
import github3
ImportError: No module named 'github3'
I think this might be my issue but here is my search command below to make
sure that that isn't what it is.
Search command I used:
curl -XGET localhost:9200/historicdata/_search?v
Output:
{ "took": 41, "timed_out": false, "_shards": { "total": 5, "successful": 5,
"failed": 0 }, "hits": { "total": 0, "max_score": null, "hits": []}}
I also tried this:
curl -XGET 'http://localhost:9200/historicdata/docs/_search?q=docs: *.doc'
Output:
curl: (52) Empty reply from server
I don't think its my search command because when I run this:
curl 'localhost:9200/_cat/indices?v'
Output:
health index pri rep docs.count docs.deleted
store.size pri.store.size
yellow historicdata 5 1 0 0
575b 575b
This is saying that my index has no documents. If anyone has seen this
before please let me know.
Thank you,
Austin Harmon
--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3d148ed0-06f5-4f72-813d-b213bf155f9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.