Hi,
Currently we are using StandardRequestHandler and the configuration in
SolrConfig.xml is as below:
explicit
We would like to switch to DisMax request handler and the configuration in
SolrConfig.xml is:
dismax
explicit
0.01
> 1. Do we need to change the above DisMax handler
> configuration as per our
> requirements? Or Leave it as it is? What changes?
Yes, you need to edit it. At least field names. Does your schema has a field
named sku?
> 2. Do we need make DisMax as a default request
> handler? Do I need to add
Ahmet,
Thanks for the reply and it was very helpful.
The query that I used before changing to dismax was:
/solr/tradecore/spell/?q=curious&wt=json&rows=9&facet=true&facet.limit=-1&facet.mincount=1&facet.field=author&facet.field=pubyear&facet.field=format&facet.field=series&facet.field=season&fac
document:
category: electronic devices
query electronic will return it, and facets on category_string will be
displayed as :
electronic devices (1)
not :
electronic (1)
devices (1)
--- On Wed, 11/17/10, Solr User wrote:
> From: Solr User
> Subject: Re: Dismax - Boosting
> To:
> 2. How to use spell checker request handler along with
> dismax?
Just append this at the end of dismax request handler definition:
spellcheck
tronic will return it, and facets on category_string will be
> displayed as :
>
> electronic devices (1)
>
> not :
>
> electronic (1)
> devices (1)
>
>
>
> --- On Wed, 11/17/10, Solr User wrote:
>
> > From: Solr User
> > Subject: Re: Dismax - Bo
eries,season,imprint,category,award,age,reading,grade,price
> >
> > The fields you facet on should be untokenized type: string, int, tint
> date
> > etc.
> >
> > The fields you want full text search, e.g. the ones you specify in qf, pf
> > parameter sh
Hi Ahmet,
The below is my previous configuration which use to work correctly.
textSpell
default
searchFields
/solr/qa/tradedata/spellchecker
true
We use to search only in one field which is "searchFields" but with
implementing dismax we are searching in different fields like
titl
> The below is my previous configuration which use to work
> correctly.
>
> class="solr.SpellCheckComponent">
> name="queryAnalyzerFieldType">textSpell
>
> default
> searchFields
> name="spellcheckIndexDir">/solr/qa/tradedata/spellchecker
> true
>
>
>
> We use to search only in o
Hi Ahmet,
In the past we used /spell and if there is not match then we use to get a
list of suggestions and then we use to make another call with the first
suggestion to get search results. After that we show user both suggestions
for the spelling mistake and results of the first suggestion.
I th
> In the past we used /spell and if there is not match then
> we use to get a
> list of suggestions and then we use to make another call
> with the first
> suggestion to get search results. After that we show user
> both suggestions
> for the spelling mistake and results of the first
> suggestion.
11 matches
Mail list logo