Can you describe what "not working" means? You're not getting suggestions or your getting exceptions? Is there any error in your log?

If you add &debugQuery=true to your query, does it show that the Spell component was run? (I think it should)

Do your logs show the Spell Checker being initialized or anything else?

On Jan 5, 2009, at 10:21 AM, Navdeep wrote:


Hi

Thanks for your response.
Please find the attached.
1) schema.xml and solrconfig.xml

In solrconfig.xml file, we are changing the below parts ...

PART 1:

<requestHandler name="dismaxrequest" class="solr.DisMaxRequestHandler" >
   <lst name="defaults">
          <!-- omp = Only More Popular -->
         <str name="spellcheck.onlyMorePopular">false</str>
         <!-- exr = Extended Results -->
         <str name="spellcheck.extendedResults">false</str>
         <!--  The number of suggestions to return -->
         <str name="spellcheck.count">10</str>

    <str name="echoParams">explicit</str>

    <float name="tie">0.01</float>
    <str name="qf">statusName_product_s^1.0 productId_product_s^1.0
iSBN10_product_s^1.0 iSBN13_product_s^1.0 prdMainTitle_product_s^1.0
prdKeywords_product_s^1.0 productDescription_product_s^1.0
prdMainSubTitle_product_s^1.0 contentTypeId_product_s^1.0
editionTypeId_product_s^1.0 statusId_product_s^1.0 formatId_product_s^1.0 audienceId_product_s^1.0 eraId_product_s^1.0 extentTypeId_product_s^1.0 divisionId_product_s^1.0 productPrice_product_s^1.0 basePrice_product_s^1.0
catalogPrice_product_s^1.0 editionName_product_s^1.0
productSource_product_s^1.0 ageRange_product_s^1.0
prdPublishingDate_product_s^1.0 productCopyright_product_s^1.0
productExtentName_product_s^1.0 parentTaxonomy_product_s^1.0
parentGroup_product_s^1.0 IndexId_s^1.0 productURL_product_s^1.0
websiteURL_product_s^1.0 productContributors_product_s^1.0
relatedFiles_product_s^1.0 relatedLinks_product_s^1.0 awards_product_s^1.0
imprints_product_s^1.0 product_product_s^1.0 documents_product_s^1.0
taxonomyPathElement_product_s^1.0 </str>

    <str name="pf">

    </str>
<str name="bq">english^90 hindi^123 Glorious^2000 highlighting^10000000
maths^100 ab^12 erer^4545</str>
    <str name="fl">
       *,score
    </str>
   </lst>
    <arr name="last-components">
         <str>spellcheck</str>
   </arr>
 </requestHandler>

PART 2:

<searchComponent name="spellcheck" class="solr.SpellCheckComponent">

   <str name="queryAnalyzerFieldType">textSpell</str>

           <lst name="spellchecker">
     <str name="name">default</str>
     <str name="classname">solr.spelling.FileBasedSpellChecker</str>
     <str name="sourceLocation">./spellings.txt</str>
     <str name="characterEncoding">UTF-8</str>
     <str name="spellcheckIndexDir">./spellcheckerFile</str>
          <str name="accuracy">0.7</str>
   </lst>

 </searchComponent>

Thanks
Navdeep




Grant Ingersoll-6 wrote:

Can you share your configuration, or at least the relevant pieces?

-Grant
On Jan 5, 2009, at 9:24 AM, Navdeep wrote:


Hi all

we are facing an issue in spell checker with solr server. We are
changing
the below given attributes of SolrConfig.xml file

1) Accuracy
2) Number of Suggestions

we are rebuilding solr indexes using "spellcheck.build=true" :
URL used for POST_SOLR_URL=
"select?
q
=
*:*&spellcheck
.q=flavro&spellcheck=true&spellcheck.build=true&qt=dismaxrequest"

After performing the above steps, when we are trying to perform the
final
search for keyword, it is not working.
Please share your thoughts on this issue.

--
View this message in context:
http://www.nabble.com/Spell-Checker-Reloading-Issue-tp21291873p21291873.html
Sent from the Solr - User mailing list archive at Nabble.com.


--------------------------
Grant Ingersoll

Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ












http://www.nabble.com/file/p21292901/schema.xml schema.xml
http://www.nabble.com/file/p21292901/solrconfig.xml solrconfig.xml
--
View this message in context: 
http://www.nabble.com/Spell-Checker-Reloading-Issue-tp21291873p21292901.html
Sent from the Solr - User mailing list archive at Nabble.com.


--------------------------
Grant Ingersoll

Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ










Reply via email to