What version of the patch are you using? Can you paste your full
config for the search component?
Also, as I am sure you are aware, this is still in a pretty decent
amount of flux.
-Grant
On May 28, 2008, at 4:05 PM, Oleg Gnatovskiy (JIRA) wrote:
[ https://issues.apache.org/jira/browse/SOLR-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600590
#action_12600590 ]
oleg_gnatovskiy edited comment on SOLR-572 at 5/28/08 1:04 PM:
---------------------------------------------------------------
Here is what I am getting (using yesterday's patch):
HTTP Status 500 - null java.lang.NullPointerException at
org.apache.lucene.index.Term.<init>(Term.java:39) at
org.apache.lucene.index.Term.<init>(Term.java:36) at
org
.apache
.solr
.spelling
.AbstractLuceneSpellChecker
.getSuggestions(AbstractLuceneSpellChecker.java:67) at
org
.apache
.solr
.handler
.component.SpellCheckComponent.process(SpellCheckComponent.java:160)
at
org
.apache
.solr
.handler
.component.SearchHandler.handleRequestBody(SearchHandler.java:153)
at
org
.apache
.solr
.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:
125) at org.apache.solr.core.SolrCore.execute(SolrCore.java:965) at
org
.apache
.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:
339) at
org
.apache
.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:
274) at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235) at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206) at
org
.apache
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233) at
org
.apache
.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
175) at
org
.apache
.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org
.apache
.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109) at
org
.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
286) at
org
.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
844) at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583) at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
447) at java.lang.Thread.run(Thread.java:619)
was (Author: oleg_gnatovskiy):
Here is what I am getting:
HTTP Status 500 - null java.lang.NullPointerException at
org.apache.lucene.index.Term.<init>(Term.java:39) at
org.apache.lucene.index.Term.<init>(Term.java:36) at
org
.apache
.solr
.spelling
.AbstractLuceneSpellChecker
.getSuggestions(AbstractLuceneSpellChecker.java:67) at
org
.apache
.solr
.handler
.component.SpellCheckComponent.process(SpellCheckComponent.java:160)
at
org
.apache
.solr
.handler
.component.SearchHandler.handleRequestBody(SearchHandler.java:153)
at
org
.apache
.solr
.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:
125) at org.apache.solr.core.SolrCore.execute(SolrCore.java:965) at
org
.apache
.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:
339) at
org
.apache
.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:
274) at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235) at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206) at
org
.apache
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233) at
org
.apache
.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
175) at
org
.apache
.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org
.apache
.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109) at
org
.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
286) at
org
.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
844) at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583) at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
447) at java.lang.Thread.run(Thread.java:619)
Spell Checker as a Search Component
-----------------------------------
Key: SOLR-572
URL: https://issues.apache.org/jira/browse/SOLR-572
Project: Solr
Issue Type: New Feature
Components: spellchecker
Affects Versions: 1.3
Reporter: Shalin Shekhar Mangar
Assignee: Grant Ingersoll
Priority: Minor
Fix For: 1.3
Attachments: SOLR-572.patch, SOLR-572.patch, SOLR-572.patch,
SOLR-572.patch, SOLR-572.patch, SOLR-572.patch, SOLR-572.patch,
SOLR-572.patch, SOLR-572.patch, SOLR-572.patch, SOLR-572.patch,
SOLR-572.patch, SOLR-572.patch
Expose the Lucene contrib SpellChecker as a Search Component.
Provide the following features:
* Allow creating a spell index on a given field and make it
possible to have multiple spell indices -- one for each field
* Give suggestions on a per-field basis
* Given a multi-word query, give only one consistent suggestion
* Process the query with the same analyzer specified for the source
field and process each token separately
* Allow the user to specify minimum length for a token (optional)
Consistency criteria for a multi-word query can consist of the
following:
* Preserve the correct words in the original query as it is
* Never give duplicate words in a suggestion
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.