On Feb 12, 2009, at 8:37 PM, Chris Hostetter wrote:


: > A roundabout way of asking: how can I fire off *just* a spell check query?

: I don't think it is possible with SpellCheckComponent. But note that only

It's possible:  
http://wiki.apache.org/solr/SpellCheckComponent#head-e8bab117a0af711723b935b83da381ad2f67983c

Although, the QueryComponent might balk at their not being a q specified if you are using the /select. I committed a fix for this a few days ago that now lets one turn off the QueryComponent by issuing query=false (it's on by default), but you would need trunk for that.

Of course, you can also do what Hoss suggests.




maybe i'm missing something, but why can't you just say...

 <requestHandler name="/spellCheckCompRH" class="solr.SearchHandler">
   <arr name="components">
     <str>spellcheck</str>
   </arr>
 </requestHandler>


...i havne't tried it, but there's no reason i know of for
SpellcheckComponent to be dependent on QueryComponent, so it should work.

if it doesn't that seems like a bug.




-Hoss


Reply via email to