Thanks for the report, Floyd, the Solr Reference Guide has been changed to say 
the default is $SOLR_HOME/data rather than $SOLR_HOME/data/index.

Currently the ExternalFileField javadoc 
<http://lucene.apache.org/solr/4_0_0/solr-core/org/apache/solr/schema/ExternalFileField.html>
 says:

        Solr looks for the external file in the index directory
        under the name of external_<fieldname> or external_<fieldname>.*"

I think the intent here is that "the index directory" is the directory 
*containing* the index directory, rather than the index directory itself.

Steve

On Nov 19, 2012, at 10:37 PM, Floyd Wu <floyd...@gmail.com> wrote:

> By the way, I first try external field according document here
> http://lucidworks.lucidimagination.com/display/solr/Working+with+External+Files+and+Processes
> 
> "Format of the External File
> 
> The file itself is located in Solr's index directory, which by default is
> $SOLR_HOME/data/index. The name of the file should beexternal_*fieldname*
> or external_*fieldname*.*. For the example above, then, the file could be
> named external_entryRankFile orexternal_entryRankFile.txt.
> "
> 
> But actually the external file should put in
> $SOLR_HOME/data/
> 
> Floyd

Reply via email to