You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Bernd Fehling <be...@uni-bielefeld.de> on 2010/09/24 15:39:25 UTC
AbstractMethodError with lucid KStem
I tried using lucid KStem with solr trunk version but get AbstractMethodError.
schema.xml:
...
<fieldType name="text_kstem" class="solr.TextField" positionIncrementGap="100">
<analyzer type="index">
<tokenizer class="solr.WhitespaceTokenizerFactory" />
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="false" />
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1"
catenateNumbers="1" catenateAll="0" splitOnCaseChange="1" />
<filter class="solr.LowerCaseFilterFactory" />
<filter class="com.lucidimagination.solrworks.analysis.LucidKStemFilterFactory" protected="protwords.txt" />
</analyzer>
<analyzer type="query">
<tokenizer class="solr.WhitespaceTokenizerFactory" />
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" />
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0"
catenateNumbers="0" catenateAll="0" splitOnCaseChange="1" />
<filter class="solr.LowerCaseFilterFactory" />
<filter class="com.lucidimagination.solrworks.analysis.LucidKStemFilterFactory" protected="protwords.txt" />
</analyzer>
</fieldType>
...
solr/lib/ has lucid-kstem.jar and lucid-solr-kstem.jar.
When using /solr/admin/analysis.jsp for field type text_kstem I get
javax.servlet.ServletException: java.lang.AbstractMethodError
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:939)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:871)
at org.apache.jsp.admin.analysis_jsp._jspService(org.apache.jsp.admin.analysis_jsp:750)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:267)
...
Any idea whats going wrong or where to looks for?
Regards
Bernd
Re: AbstractMethodError with lucid KStem
Posted by Bernd Fehling <be...@uni-bielefeld.de>.
Hi Yonik,
which is the most recent solr version working with lucid KStem?
I started with lucidworks for solr but tika for PDFs was way to old
and made problems so I had to change to trunk with tika 0.8 SNAPSHOT.
Runs perfect but now the problem with KStem...
What is your advise?
Regards,
Bernd
Am 24.09.2010 15:45, schrieb Yonik Seeley:
> On Fri, Sep 24, 2010 at 9:39 AM, Bernd Fehling
> <be...@uni-bielefeld.de> wrote:
>> I tried using lucid KStem with solr trunk version but get AbstractMethodError.
>
> That hasn't been ported to trunk yet.
>
> -Yonik
> http://lucenerevolution.org Lucene/Solr Conference, Boston Oct 7-8
Re: AbstractMethodError with lucid KStem
Posted by Yonik Seeley <yo...@lucidimagination.com>.
On Fri, Sep 24, 2010 at 9:39 AM, Bernd Fehling
<be...@uni-bielefeld.de> wrote:
> I tried using lucid KStem with solr trunk version but get AbstractMethodError.
That hasn't been ported to trunk yet.
-Yonik
http://lucenerevolution.org Lucene/Solr Conference, Boston Oct 7-8