looking over some of the spellchecking stuff...

One thing that sticks out as strange is that the component and the handler have different params!

The handler uses:
 sp.query.accuracy
 sp.query.onlyMorePopular
 ...
  http://wiki.apache.org/solr/SpellCheckerRequestHandler

while the component uses:
 spellcheck.onlyMorePopular
 spellcheck.extendedResults
 ...

  http://wiki.apache.org/solr/SpellCheckComponent

This seems a little weird to me...

the Spellchecker was around in 1.2, but in a much simpler form:
http://svn.apache.org/repos/asf/lucene/solr/tags/release-1.2.0/src/java/org/apache/solr/handler/SpellCheckerRequestHandler.java

What is the plan for the Handler? it seems to duplicate much of what happens in the component. Should it be deprecated? Should it be reverted to the 1.2 version -- keeping all the new functionality in the component rather then the handler?

Can/should the SpellCheckerRequestHandler be implemented using the SearchComponent?

thoughts?
ryan






Reply via email to