Problem getting all records correctly indexed in elastic search

I am having a problem with elastic search and mongodb which I can not seem
to solve. I've just setup a complete clean installation and the issue is
there also.

I am having the following installation

MongoDb: 2.4.9
Elastic search: 1.0.0
Attachment and MongoDB river and head plugin installed

The data that needs be searchable is in one collection only.

The tutorial I have followed is,
obvious I've used more up to date versions of the software.

The problems I am having:

  1. The data is not imported 100%, records are missing;
  2. The records have incomplete data, always the same field (an array) is
    not competently added, just the 1st element.
  3. If changes are made in the database they are not applies to the elastic
    search index.

How I get data into the database is as followed:
a) I download a zipfile from a server, this one is extracted and parsed
b) The parsed data is inserted into the mongodb collection
c) Then multiple zipfiles (containing meta data) are downloaded, extracted
and parsed and inserted into the previous created database records (update)

On step 3, once the meta data is parsed the record e.g. ABC1 is updated
with meta data A... then META data B is parsed, etc. and record ABC1 is
updated with meta data B.

The problem 2 and 3 might be related.

The index I have created is:

curl -XPUT "localhost:9200/_river/mongodbriver/_meta" -d'{
"type": "mongodb",
"mongodb": {
"db": "tenders_db",
"collection": "tenders"
"index": {
"name": "tenders_index",
"type": "tender_documents"

Let me know if you need more information.

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
To view this discussion on the web visit
For more options, visit