problem with wild card query with spellchecker

2011-06-21 Thread Romi
I am enabling spell checking using solr  in  search application. i also want
to run wild card queries.
the problem i am facing is when i search for for example diam* then it gives
me a suggestion for diamond and search results for diamond. while i have
some other words in my document say for example diamender,diamounder but i
am not getting results for them

cant i use wild card query with spell checker?? 

-
Thanks  Regards
Romi
--
View this message in context: 
http://lucene.472066.n3.nabble.com/problem-with-wild-card-query-with-spellchecker-tp3090651p3090651.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: problem with wild card query with spellchecker

2011-06-21 Thread Erick Erickson
You can use prefix with TermsComponent, which may do what you
need.

Best
Erick

On Tue, Jun 21, 2011 at 9:40 AM, Romi romijain3...@gmail.com wrote:
 I am enabling spell checking using solr  in  search application. i also want
 to run wild card queries.
 the problem i am facing is when i search for for example diam* then it gives
 me a suggestion for diamond and search results for diamond. while i have
 some other words in my document say for example diamender,diamounder but i
 am not getting results for them

 cant i use wild card query with spell checker??

 -
 Thanks  Regards
 Romi
 --
 View this message in context: 
 http://lucene.472066.n3.nabble.com/problem-with-wild-card-query-with-spellchecker-tp3090651p3090651.html
 Sent from the Solr - User mailing list archive at Nabble.com.