RE: spellcheck configuration not providing suggestions or corrections

2012-02-13 Thread geeky2
thank you sooo much - that was it.

also - thank you for the tip on which field to hit, eg itemDesc in stead of
itemDescSpell.

thank you,
mark



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


Re: spellcheck configuration not providing suggestions or corrections

2012-02-13 Thread alxsss
you have put this

 true

Maybe you need to put 
true

 

 Alex.

 

-Original Message-
From: Dyer, James  
To: solr-user 
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 ?


  


default

false

true

20
  explicit


  spellcheck

  


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:

00trueon0itemDescSpell:gusket
true102.2

--
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.

 


RE: spellcheck configuration not providing suggestions or corrections

2012-02-13 Thread Dyer, James
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 ?


  


default

false

true

20
  explicit


  spellcheck

  


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:

00trueon0itemDescSpell:gusket
true102.2

--
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.


RE: spellcheck configuration not providing suggestions or corrections

2012-02-13 Thread geeky2
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 ?


  


default

false

true

20
  explicit


  spellcheck

  


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:

00trueon0itemDescSpell:gusket
true102.2

--
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.


RE: spellcheck configuration not providing suggestions or corrections

2012-02-13 Thread Dyer, James
The one thing that jumps out is you have "spellcheck.count" set to 1.  Try 10 
and see if you get results.  The spellcherker uses a 2-pass algorithm and if 
the "count" is too small, all the good suggestions can get eliminated in the 
first pass.  So you often need a "count" of maybe 10 even if you only want 1 
suggestion.

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


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



Hello,

environment: solr 3.5 and centOS

i have reviewed the wiki for http://wiki.apache.org/solr/SpellCheckComponent
and

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

i read the related material in the solr book (smiley).

after doing the configuration in schema.xml and solrconfig.xml - i am NOT
able to get the spellchecker to provide ANY suggestions on mis-spelled
words. i get zero results and zero suggestions.

example search sent to solr.  in this example - i am issuing a search for
"gast" in hopes that i will get a suggestion for gasket or at least
something.

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



pulled from schema.xml

  

  
  
  
  
  
  


  
  
  
  
  

  





  


pulled from solrconfig.xml

  


default

false

false

1
  explicit


  spellcheck

  

  

textSpell





  default
  itemDescSpell
  true
  spellchecker_mark
  










  




any help or suggestions would be appreciated,
mark




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