Problem by getting http://localhost:8983/solr/jateCore/termRecogniser

18 views
Skip to first unread message

lotu...@gmail.com

unread,
Jun 14, 2018, 10:24:37 AM6/14/18
to JATE2


Hello
I m using JATE2.0 Solr-7.2.1  plugin version but I get this error when i try to get the Term Recogniser
i have tried  2 possibility but always the same msg


{
 
"responseHeader":{
   
"status":500,
   
"QTime":9},
 
"error":{
   
"msg":"this IndexReader is closed",
   
"trace":"org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed\r\n\tat org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:268)\r\n\tat org.apache.lucene.index.StandardDirectoryReader.getIndexCommit(StandardDirectoryReader.java:401)\r\n\tat org.apache.lucene.index.FilterDirectoryReader.getIndexCommit(FilterDirectoryReader.java:129)\r\n\tat org.apache.lucene.index.FilterDirectoryReader.getIndexCommit(FilterDirectoryReader.java:129)\r\n\tat org.apache.solr.search.SolrIndexSearcher.close(SolrIndexSearcher.java:478)\r\n\tat uk.ac.shef.dcs.jate.solr.TermRecognitionRequestHandler.handleRequestBody(TermRecognitionRequestHandler.java:250)\r\n\tat org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:177)\r\n\tat org.apache.solr.core.SolrCore.execute(SolrCore.java:2503)\r\n\tat org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:710)\r\n\tat org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:516)\r\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:382)\r\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:326)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1751)\r\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)\r\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)\r\n\tat org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)\r\n\tat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)\r\n\tat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)\r\n\tat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)\r\n\tat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)\r\n\tat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)\r\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\r\n\tat org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)\r\n\tat org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)\r\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)\r\n\tat org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)\r\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)\r\n\tat org.eclipse.jetty.server.Server.handle(Server.java:534)\r\n\tat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)\r\n\tat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)\r\n\tat org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)\r\n\tat org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)\r\n\tat org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)\r\n\tat org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)\r\n\tat org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)\r\n\tat org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)\r\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)\r\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n",
   
"code":500}}

Here is my  solrconfig.xml only the part for termRecogniser

   <requestHandler name="/termRecogniser" class="uk.ac.shef.dcs.jate.solr.TermRecognitionRequestHandler">
    <lst name="defaults">
     <str name="algorithm">TTF</str>
     <bool name="extraction">true</bool>
<bool name="indexTerm">false</bool>
<bool name="boosting">false</bool>
     <str name="-o">../ttf-terms.json</str>
     </lst>
    </requestHandler>

Can someone explain what  means extraction indexTerm boosting  and which  one shoude be true for TermRecognition?
thank you !



 
Reply all
Reply to author
Forward
0 new messages