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.
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.
It could be useful to start your elasticsearch node in debug mode and check
the queries sent to the mongodb. It would give you hints on why there are
less documents.
To enable debug mode logging: open /config/logging.yml and change the first
line from rootLogger: INFO to rootLogger: DEBUG
Hi, I tried it with DEBUG option too, I am not getting any error in the log
file but still I am not able to index all the files.
Thanks,
Kiruthika
On Thursday, September 12, 2013 12:03:23 AM UTC-7, sina.t...@gmail.com
wrote:
It could be useful to start your elasticsearch node in debug mode and
check the queries sent to the mongodb. It would give you hints on why there
are less documents.
To enable debug mode logging: open /config/logging.yml and change the
first line from rootLogger: INFO to rootLogger: DEBUG
If you are running elasticsearch in debug mode you should be able to see
the queries issued against mongodb. By looking at those queries you could
verify if you are getting all the documents from mongodb to elasticsearch.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.