Re: solr spell check index dictionary build failed issue

2018-02-13 Thread Alessandro Benedetti
Shooting in the dark it seems that 2 processes are trying to write the same
disk directory.
Is this directory shared by different Solr cores or Solr instances ?

If you contribute the configuration from the solrconfig we may be able to
help.



-
---
Alessandro Benedetti
Search Consultant, R Software Engineer, Director
Sease Ltd. - www.sease.io
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html


solr spell check index dictionary build failed issue

2018-02-12 Thread Krishna Kumar Sharma
Hell


I have issue on building of spell check index dictionary

showing error as like

ERROR
undefined
SpellCheckComponent
Exception in building spell check index for spellchecker: indexD

org.apache.lucene.store.LockObtainFailedException: Lock held by this
virtual machine:
/var/lib/solr/data/solr.data/catalog.catalog004/spellchecker/write.lock
at
org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:127)
~[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
~[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
~[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at
org.apache.lucene.store.FilterDirectory.obtainLock(FilterDirectory.java:103)
~[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at org.apache.lucene.index.IndexWriter.(IndexWriter.java:941)
~[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at
org.apache.lucene.search.spell.SpellChecker.clearIndex(SpellChecker.java:455)
~[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at
org.apache.solr.spelling.IndexBasedSpellChecker.build(IndexBasedSpellChecker.java:87)
~[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at
org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener.buildSpellIndex(SpellCheckComponent.java:835)
[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at
org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener.newSearcher(SpellCheckComponent.java:820)
[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at org.apache.solr.core.SolrCore$6.call(SolrCore.java:1973)
[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_121]
at
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:237)
[solr-uber-with-auth_2.1-6.0.1.0.1833.jar:na]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_121]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_121]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121]


please send me solution if find it


Thanks

Krishna Kumar Sharma