Re: Can we have multiple Spellcheck Components under /select handler

2021-01-01 Thread Rajesh Hazari
Hi,

You can have more than one spellcheck components after you have the
spellcheck components in select request handler,
you have still which spellcheck you want to use you could mention in your
query params
for ex:
http://
:8983/solr//select/?q=text&spellcheck.dictionary=default&spellcheck.dictionary=wordbreak&spellcheck=true

or define as defualts in you select handler:

   
 
true
default
wordbreak
.

elevator
spellcheck



*Rajesh.*


On Wed, Dec 30, 2020 at 7:51 AM rashi gandhi 
wrote:

> Hi All
>
> I am trying to configure multiple spellcheck components. I defined two
> searchComponents in my solrconfig.xml, let's say  and
> .
> And added above both components under /select request handler with default
> required attributes.
>
> >  elevator spellcheck <
> > str>spellcheck1 
>
>
> However, I can not see spellcheck1 coming in response. (when I set
> /select?spellcheck1=true&q=).
>
> Can't we configure multiple spellcheck components with different names in
> Solr.
>


Can we have multiple Spellcheck Components under /select handler

2020-12-30 Thread rashi gandhi
Hi All

I am trying to configure multiple spellcheck components. I defined two
searchComponents in my solrconfig.xml, let's say  and
.
And added above both components under /select request handler with default
required attributes.

>  elevator spellcheck <
> str>spellcheck1 


However, I can not see spellcheck1 coming in response. (when I set
/select?spellcheck1=true&q=).

Can't we configure multiple spellcheck components with different names in
Solr.