OK, I gave each of these spellcheckIndexDir tokens distinct location -- from each other and from the main index. This has resolved the write.lock problem when I attempt a spellcheck.build! Thanks for the help!

I looked in the new spellcheckIndexDir location and the directory is populated with a few files. So it seems "spellcheck.build" worked, but I am still not getting any hits when I purposefully misspell a word. But I'll post this problem with more details in a separate post.

Mark

On 9/21/2015 5:07 PM, Mikhail Khludnev wrote:
Both of these guys below try to write spell index into the same dir. Don't they?

To make it clear, it's not possible so far.

  <lst name="spellchecker">
       <str name="classname">solr.IndexBasedSpellChecker</str>
       <str name="spellcheckIndexDir">/localapps/dev/EventLog/index</str>


        <lst name="spellchecker">
          <str name="classname">solr.FileBasedSpellChecker</str>
          <str name="spellcheckIndexDir">/localapps/dev/EventLog/index</str>

Also, can you make sure that this path doesn't lead to main index dir.


On Mon, Sep 21, 2015 at 5:13 PM, Mark Fenbers <mark.fenb...@noaa.gov> wrote:

A snippet of my solrconfig.xml is attached.  The snippet only contains the
Spell checking sections (for brevity) which should be sufficient for you to
see all the pertinent info you seek.

Thanks!
Mark


On 9/19/2015 3:29 AM, Mikhail Khludnev wrote:

Mark,

What's your solconfig.xml?

On Sat, Sep 19, 2015 at 12:34 AM, Mark Fenbers <mark.fenb...@noaa.gov>
wrote:

Greetings,
Whenever I try to build my spellcheck index
(params.set("spellcheck.build", true); or put a check in the
spellcheck.build box in the web interface) I get the following
stacktrace.
Removing the write.lock file does no good.  The message comes right back
anyway.  I read in a post that increasing writeLockTimeout would help.
It
did not help for me even increasing it to 20,000 msec.  If I don't build,
then my resultset count is always 0, i.e., empty results.  What could be
causing this?

Mark





Reply via email to