we are using these spellcheckers in our collesction configs:

<lst name="spellchecker">
    <str name="name">default</str>
    <str name="classname">solr.DirectSolrSpellChecker</str>
    .
    .
    .
    
  </lst>

    <lst name="spellchecker">
      <str name="name">wordbreak</str>
      <str name="classname">solr.WordBreakSolrSpellChecker</str>
      .
      .
      .   
  </lst>

 
   <lst name="spellchecker">
       <str name="name">jarowinkler</str>
       
       <str 
name="distanceMeasure">org.apache.lucene.search.spell.JaroWinklerDistance</str>
       .
       .
       .
   </lst>

it works when I have one word, but it doesn't work when I have combination of 
words with errors.

Ladan Nekuii
Web Developer
2locos
300 Frank H. Ogawa Plaza, Suite 234
Oakland, CA 94612
Tel: 510-465-0101
Fax: 510-465-0104
www.2locos.com 

-----Original Message-----
From: "Rajesh Hazari" <rajeshhaz...@gmail.com>
Sent: Friday, October 7, 2016 12:27pm
To: solr-user@lucene.apache.org
Subject: Re: Problem with spellchecker component

What spellcheckers you have in your collection configs,
do you have any of these

         <lst name="spellchecker">
<str name="name">wordbreak</str>
<str name="classname">solr.WordBreakSolrSpellChecker</str>
.
.
.
.
 </lst>

  <lst name="spellchecker">
<str name="name">default</str>
<str name="field">textSpell</str>
<str name="classname">solr.IndexBasedSpellChecker</str>
.
.
.
.
.
     </lst>

we have come up with these spellcheckers which works with our schema
definitions.

*Rajesh**.*

On Fri, Oct 7, 2016 at 2:36 PM, la...@2locos.com <la...@2locos.com> wrote:

> I'm using Spellcheck component and it doesn't show me any error for
> combination of words with error, I want to know if it just work on one word
> or it also works on combination of words?and if so what should I do to
> makes it work?
>
> Ladan Nekuii
> Web Developer
> 2locos
> 300 Frank H. Ogawa Plaza, Suite 234
> Oakland, CA 94612
> Tel: 510-465-0101
> Fax: 510-465-0104
> www.2locos.com
>
>


Reply via email to