Hi Ahmet,

The below is my previous configuration which use to work correctly.

<searchComponent name="spellcheck" class="solr.SpellCheckComponent">
 <str name="queryAnalyzerFieldType">textSpell</str>
 <lst name="spellchecker">
  <str name="name">default</str>
  <str name="field">searchFields</str>
  <str name="spellcheckIndexDir">/solr/qa/tradedata/spellchecker</str>
  <str name="buildOnCommit">true</str>
 </lst>
</searchComponent>

We use to search only in one field which is "searchFields" but with
implementing dismax we are searching in different fields like

title^9.0 subtitle^3.0 author^2.0 desc shortdesc imprint category isbn13
isbn10 format series season bisacsub award.

Do we need to modify the above configuration to include all the above
fields:??? Please give me an example.

In the past we use to query twice to get first the suggestions and then we
use to query using the first suggestion to show the data.

Is there a way that we can do it in one step?

Thanks,

Murali




On Wed, Nov 17, 2010 at 7:00 PM, Ahmet Arslan <iori...@yahoo.com> wrote:

>
> > 2. How to use spell checker request handler along with
> > dismax?
>
> Just append this at the end of dismax request handler definition:
>
> <arr name="last-components">
>   <str>spellcheck</str>
> </arr>
>
> </requestHandler>
>
>
>
>

Reply via email to