Thanks. But i'm looking at this
http://.../spellchecker?indent=on&onlyMorePopular=true&accuracy=.6&suggestionCount=20&q=facial+salophosphoprotein
on
http://lucene.apache.org/solr/api/org/apache/solr/handler/SpellCheckerRequestHandler.html
It seems to return results (well in the example) 
with and without extendedResults=true
does it mean that 'facial salophosphoprotein' was a single term in the
index. 


hossman wrote:
> 
> : 
> : I did try with the latest nightly build and followed the steps outlined
> in
> : http://wiki.apache.org/solr/SpellCheckerRequestHandler
> : with regards to creating new catchall field 'spell' of type 'spell' and
> : copied my text fields to 'spell' at index time.
> : Still q=grapics returns 'graphics'
> : but q=grapics card returns nothing.
> : But the same queries return the correct spelling with string fieldtypes.
> : Any fix available? 
> 
> I don't think Otis was suggesting any specific fix was available in the 
> nightly builds, i believe he was just addressing specificly that if there 
> was a bug someone commited a fix for you didnt' need to wait for 1.3 -- 
> you can test it now using the nightly builds.
> 
> That said: I don't see any currently open or recent resolved bugs 
> related to spellchecking and multiple words ... i believe (but i'm not 
> 100% positive) that "multi word" spell correction will work, as long as 
> your dictionary contaisn those "multiple words" as individual "terms"
> 
> ie: if you want "graphics card" to be a suggestion for "grapics card" then 
> you need to use a termSourceField in which "graphics card" is a single 
> term (either because it is untokenized, or maybe because you use a 
> word-based ngram tokenfilter, etc...)
> 
> alternately, if you want to get "graphics asdfghjk" as a suggestion for
> "grapics asdfghjk" (even though "asdfghjk" isn't in your index at all), 
> hiting the spellcorrection handler for each input word individually is 
> probably your best bet.
> 
> 
> : > You don't need to wait for 1.3 to be released - you can simply use a
> : > recent nightly build.
> 
> 
> -Hoss
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/spellcheckhandler-tp14627712p15100704.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to