Note that there are some explanatory texts on larger screens.

plurals
  1. POMissing .fnm file error when re-indexing with Sunspot on a remote Solr instance
    primarykey
    data
    text
    <p>I am having a weird issue with Solr. I am using Rails 3 with Sunspot gem and everything was fine when I was running off my local instance of Solr. But once I tried running same code in a different environment with more data (10M records or so as opposed to 20K in local environment) and remote Solr instance, Solr started throwing errors like this when I run rake sunspor:reindex:</p> <pre><code>Solr Response: Internal Server Error </code></pre> <p>And tomcat6 logs would contain an error like this: </p> <pre><code>Jul 5, 2011 10:14:29 AM org.apache.solr.core.SolrCore execute INFO: [] webapp=/solr4 path=/update params={wt=ruby} status=0 QTime=6 Jul 5, 2011 10:14:30 AM org.apache.solr.update.processor.LogUpdateProcessor finish INFO: {add=[Project 395767, Project 396057, Project 396078, Project 396139, Project 396368, Project 396409, Project 396421, Project 396442, ... (8 added)]} 0 73 Jul 5, 2011 10:14:30 AM org.apache.solr.common.SolrException log SEVERE: java.io.FileNotFoundException: /opt/solr/solr4/data/index/_0.fnm (No such file or directory) </code></pre> <p>It seems happening at random times (not the same project causes it).</p> <p>I tried deleting Solr index folder and rebuilding index from scratch. That didn't have any effect except that Solr started complaining about different .fnm file. </p> <p>Same error happens if I'm building my models in Rails. I was populating the database from .csv file and Sunspot would choke at random records </p> <pre><code>Solr Response: Internal Server Error </code></pre> <p>with the same missing .fnm file error on Solr server.</p> <p>Did anyone experience anything like that? Any ideas at all would be welcome!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload