I have followed the steps in this guide here: https://coderwall.com/p/sy1qcw
This is what I am trying to update with.
#!/bin/sh
curl -XPUT "localhost:9200/_river/some_db/_meta" -d '
{
"type": "mongodb",
"mongodb": {
"servers": [
{ "host": "127.0.0.1", "port": 27017 }
],
"options": { "secondary_read_preference": true },
"db": "some_db",
"collection": "twitter"
},
"index": {
"name": "text",
"type": "string"
}
}'.
some_db - is the database name
text - is the key of the property that I want to index.
But this throws this error:
{"error":"RemoteTransportException[[Goblyn][inet[/192.168.0.101:9302]][index]];
nested: IndexFailedEngineException[[_river][0] Index failed for
[some_db#_meta]]; nested: AlreadyClosedException[this IndexWriter is
closed]; ","status":500}
I have no idea how to proceed further.
I am using
ubuntu 12.10
elasticsarch .90
elasticsearch-mapper-attachments-1.6.0
elasticsearch-river-mongodb-master
node-js -
mongodb-10gen package.
HELP!
--
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.
For more options, visit https://groups.google.com/groups/opt_out.