Re: unable to build spellcheck in solr

2014-12-08 Thread Min L
Below is the solrconfig.xml. myfieldName is indexed in solr and is searchable. The spellcheck.build=true works in one env but not in another. suggestDict org.apache.solr.spelling.suggest.Suggester org.

Re: unable to build spellcheck in solr

2014-12-05 Thread Alexandre Rafalovitch
What's your suggester XML definition? Do you have a link similar to: fuzzysuggest.txt That particular code path seems to be expecting it. Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://www.solr-start.com/ and @solrstart Solr populari

Re: unable to build spellcheck in solr

2014-12-05 Thread Erick Erickson
Not sure, of course. Sure seems like a better error message is in order, is there anything above the message you pasted in the log file that sheds more light on the subject? Erick On Fri, Dec 5, 2014 at 1:22 PM, Min L wrote: > Thanks for your reply. > > This is all it is in the solr log, no stac

Re: unable to build spellcheck in solr

2014-12-05 Thread Min L
Thanks for your reply. This is all it is in the solr log, no stack. It fails regardless of buildOncommit=true or false by building it manually. The file fst.bin was created. I found the source code in suggester.java where it logged the error. Perhaps lookup.store(new FileOutputStream(target)) fai

Re: unable to build spellcheck in solr

2014-12-05 Thread Erick Erickson
What's the rest of the stack trace? There should be a root cause somewhere. Best, Erick On Fri, Dec 5, 2014 at 11:07 AM, Min L wrote: > Hi all: > > My code using solr spellchecker to suggest keywords worked fine locally, > however in qa solr env, it failed to build it with the following error in

unable to build spellcheck in solr

2014-12-05 Thread Min L
Hi all: My code using solr spellchecker to suggest keywords worked fine locally, however in qa solr env, it failed to build it with the following error in solr log: ERROR Suggester Store Lookup build from index on field: myfieldname failed reader has: xxx docs I checked the solr directory and th