Elasticsearch not indexing all files

Could anyone please help me in this issue??? I am not able to index all the
files using Elasticsearch....

Thanks,
Kiruthika

On Wednesday, September 11, 2013 2:46:47 AM UTC-7, KS wrote:

Hi,

I am trying to index all my files stored in MongoDB using Elasticsearch.
But only 180842 files are indexed whereas I have 1637870 files in my DB. I
tried to delete an create an index and everytime it stops after indexing
180842 files. Any idea why not all documents are indexed?

I checked Elasticsearch log files and there is no error. But I found the
below lines in my log file.

(1) [2013-09-11 02:20:57,539][INFO ][river.mongodb ] [Arsenic] [mongodb][mongodb] Add attachment: 522bef23649dd3bb06a61fd8
(2) [2013-09-11 02:20:57,539][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver$Indexer] Add Attachment: 522bef0fe819cc4b70875a48 to index mongoindex / type files
(3) [2013-09-11 02:20:57,539][INFO ][river.mongodb ] [Arsenic] [mongodb][mongodb] Caught file: 522bef230eb5b705cf8ccd91 - /data/Test.java

Line (2) means that the file is added to my index. Am not sure what Line
(1) and (3) means. Does that mean that those files are not added to index?

NOTE: I used the below code to create index:

curl -XPUT 'http://localhost:9200/_river/mongodb/_meta' -d '{ "type": "mongodb",
"mongodb": {
"db": "submission_data",
"collection": "fs",
"gridfs": true
},
"index": {
"name": "mongoindex",
"type": "files"
}
}'

Thanks,

Kiruthika

--
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.