Showing posts with label solr build index fails executing direct solr commands. Show all posts
Showing posts with label solr build index fails executing direct solr commands. Show all posts

Wednesday, March 4, 2015

Solr Build index fails | would not provide error information | run solr direct

Last I encountered an error where running build-index from toolkit would give the following 2 lines but it wouldn't rebuild index and do nothing.
The program exiting with exit code: 0.
Data import process completed successfully with no errors.


If you need to directly run index on SOLR server: This is the command
http://localhost/solr/MC_10051_CatalogEntry_en_US/dataimport?command=full-import

To Monitor:
http://localhost/solr/MC_10051_CatalogEntry_en_US/dataimport?command=status

Once I ran directly on SOLR, full-import, it gave the errors.
In this particular case, it gave heap error and had to increase 512 MB to 1024 MB in WAS admin console.