SpellCheck - Ignore list of words

2013-02-18 Thread Hemant Verma
Hi All

I have a use case where I have a list of words, on which I don't want to
perform spellcheck.
Like stemming ignores the words listed in protwords.txt file.
Any idea, how it can be solved?

Thanks
Hemant



--
View this message in context: 
http://lucene.472066.n3.nabble.com/SpellCheck-Ignore-list-of-words-tp4041099.html
Sent from the Solr - User mailing list archive at Nabble.com.


Getting repeated Error - RunExecutableListener java.io.IOException

2019-02-14 Thread Hemant Verma
We have Sitecore and Solr setup.
Solr is running on windows.

Below errors are repeatedly appearing in logs.

o.a.s.c.RunExecutableListener java.io.IOException: Cannot run program "sh"
(in directory "\bin"): CreateProcess error=2, The system cannot find the
file specified

o.a.s.c.RunExecutableListener java.io.IOException: Cannot run program "bash"
(in directory "\bin"): CreateProcess error=2, The system cannot find the
file specified

o.a.s.c.RunExecutableListener java.io.IOException: Cannot run program "curl"
(in directory "\usr\bin"): CreateProcess error=2, The system cannot find the
file specified

Let me know if need more details.




--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: Getting repeated Error - RunExecutableListener java.io.IOException

2019-02-15 Thread Hemant Verma
Thanks Jan
We are using Solr 6.6.3 version.
We didn't configure RunExecutableListener in solrconfig.xml, it seems
configured in configoverlay.json as default. Even we don't want to configure
RunExecutableListener.

Is it mandatory to use configoverlay.json or can we get rid of it? If yes
can you share details.

Attached the solrconfig.xml

solrconfig.xml
  



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Errors in Solr log

2019-02-15 Thread Hemant Verma
We are using Solr 6.6.3 with Sitecore. Solr is installed on windows.
Below are few errors coming repeatedly in logs. What could be the possible
fix and reason for below errors.
FYI, we are not interested in using configoverlay.json, this could be one
reason of error and this file exist by default. Can we remove/delete
configoverlay.json?


o.a.s.u.p.DistributedUpdateProcessor Error sending update to
http://10.1.6.4:8983/solr
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error
from server at
http://10.1.6.4:8983/solr/sitecore_master_index_shard1_replica2:
RunExecutableListener is deprecated and disabled by default for security
reasons. Legacy applications still using it must explicitely pass
'-Dsolr.enableRunExecutableListener=true' to the Solr command line. Be aware
that you should really disable API-based config editing at the same time,
using '-Ddisable.configEdit=true'!
at
org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:612)
at
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:279)
at
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:268)
at
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient.request(ConcurrentUpdateSolrClient.java:430)
at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1219)
at
org.apache.solr.update.SolrCmdDistributor.doRequest(SolrCmdDistributor.java:299)
at
org.apache.solr.update.SolrCmdDistributor.lambda$submit$0(SolrCmdDistributor.java:288)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at
com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)
at
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)




2019-02-12 13:55:29.063 WARN  (qtp1543727556-94768) [   ]
o.a.s.h.a.LukeRequestHandler Error getting file length for [segments_mq5]
java.nio.file.NoSuchFileException:
C:\Solr\solr-6.6.3\server\solr\sitecore_master_index_shard1_replica2\data\index\segments_mq5
at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(Unknown
Source)
at sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(Unknown
Source)
at sun.nio.fs.WindowsFileSystemProvider.readAttributes(Unknown Source)
at java.nio.file.Files.readAttributes(Unknown Source)
at java.nio.file.Files.size(Unknown Source)
at org.apache.lucene.store.FSDirectory.fileLength(FSDirectory.java:243)
at
org.apache.lucene.store.NRTCachingDirectory.fileLength(NRTCachingDirectory.java:128)
at
org.apache.solr.handler.admin.LukeRequestHandler.getFileLength(LukeRequestHandler.java:615)
at
org.apache.solr.handler.admin.LukeRequestHandler.getIndexInfo(LukeRequestHandler.java:588)
at
org.apache.solr.handler.admin.CoreAdminOperation.getCoreStatus(CoreAdminOperation.java:348)
at org.apache.solr.handler.admin.StatusOp.execute(StatusOp.java:48)
at
org.apache.solr.handler.admin.CoreAdminOperation.execute(CoreAdminOperation.java:384)
at
org.apache.solr.handler.admin.CoreAdminHandler$CallInfo.call(CoreAdminHandler.java:388)
at
org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:174)
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:173)
at 
org.apache.solr.servlet.HttpSolrCall.handleAdmin(HttpSolrCall.java:748)
at
org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:729)
at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:510)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:361)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:305)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1691)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at
org.eclipse.jetty.server.handler.ContextHandler.doHand