you have put this

 <str name="buildOnOptimize">true</str>

Maybe you need to put 
<str name="buildOnCommit">true</str>

 

 Alex.

 

-----Original Message-----
From: Dyer, James <james.d...@ingrambook.com> 
To: solr-user <solr-user@lucene.apache.org>
Sent: Mon, Feb 13, 2012 12:43 pm
Subject: RE: spellcheck configuration not providing suggestions or corrections


That would be it, I tbinkl.  Your request is to "/select", but you've put 
spellchecking into "/search".  Try "/search" instead.  Also, I doubt its the 
problem, but try removing the trailing CRLFs from your query.  Also, typically 
you'd still query against the main field ("itemDesc" in your case) and just use 
"itemDescSpell" from which to build your dictionary.

James Dyer
E-Commerce Systems
Ingram Content Group
(615) 213-4311


-----Original Message-----
From: geeky2 [mailto:gee...@hotmail.com] 
Sent: Monday, February 13, 2012 2:28 PM
To: solr-user@lucene.apache.org
Subject: RE: spellcheck configuration not providing suggestions or corrections

hello 

thank you for the suggestion - however this did not work.

i went in to solrconfig and change the count to 20 - then restarted the
server and then did a reimport.



is it possible that i am not firing the request handler that i think i am
firing ?


  <requestHandler name="/search"
class="org.apache.solr.handler.component.SearchHandler">
    <lst name="defaults">
    
    <str name="spellcheck.dictionary">default</str>
    
    <str name="spellcheck.onlyMorePopular">false</str>
    
    <str name="spellcheck.extendedResults">true</str>
    
    <str name="spellcheck.count">20</str>
      <str name="echoParams">explicit</str>
    </lst>
    <arr name="last-components">
      <str>spellcheck</str>
    </arr>
  </requestHandler>


query sent to server:

http://hfsthssolr1.intra.searshc.com:8180/solrpartscat/core1/select/?q=itemDescSpell%3Agusket%0D%0A&version=2.2&start=0&rows=10&indent=on&spellcheck=true&spellcheck.build=true

results:

<response><lst name="responseHeader"><int name="status">0</int><int
name="QTime">0</int><lst name="params"><str name="spellcheck">true</str><str
name="indent">on</str><str name="start">0</str><str
name="q">itemDescSpell:gusket
</str><str name="spellcheck.build">true</str><str name="rows">10</str><str
name="version">2.2</str></lst></lst><result name="response" numFound="0"
start="0"/></response>

--
View this message in context: 
http://lucene.472066.n3.nabble.com/spellcheck-configuration-not-providing-suggestions-or-corrections-tp3740877p3741521.html
Sent from the Solr - User mailing list archive at Nabble.com.

 

Reply via email to