lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tamanjit.bindra@yahoo.co.in" <tamanjit.bin...@yahoo.co.in>
Subject Re: Spellcheck
Date Thu, 08 Sep 2011 06:43:45 GMT
Hi if you have not figyured it out as yet, this might help::

Issues with *schema.xml*

<field name="textSpell" type="text" stored="false" indexed="true"
multiValued="true" /> 

here the type should actually be textSpell (fieldType that you have defined
earlier)


 Also I would suggest that you use a seperate RequestHandler for your
queries. You alreasy have spellCheckCompRH defined in the solrconfig.xml, to
which you can make the changes and add your <lst>

 So really your fist query should be like:


http://localhost:8983/solr/spellCheckCompRH/?q=*:*&&version=2.2&start=0&rows=10&indent=on&spellcheck=true&spellcheck.build=true&spellcheck.dictionary=textSpell





--
View this message in context: http://lucene.472066.n3.nabble.com/Spellcheck-tp3315994p3318854.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message