As per your configuration In the case of spellcheck dictionary it uses text field. YOu will get an exception if the text field is not defined in the schema. In case of collate , the spellcheck component uses whatever qf sent in the select query.
Regards Kumar Gaurav On Mon, 1 May 2023 at 18:49, Yirmiyahu Fischer <[email protected]> wrote: > Which field is used as the dictionary field determining spelling > suggestions when making a /spell query? Is it "text" (composite of all > text fields), or is it whatever is sent in qf? > > The xml for the /spell query is > > <requestHandler name="/spell" class="solr.SearchHandler" startup="lazy"> > <lst name="defaults"> > <str name="df">text</str> > <str name="spellcheck.dictionary">default</str> > <str name="spellcheck.dictionary">wordbreak</str> > <str name="spellcheck">on</str> > <str name="spellcheck.extendedResults">true</str> > <str name="spellcheck.count">10</str> > <str name="spellcheck.alternativeTermCount">5</str> > <str name="spellcheck.maxResultsForSuggest">5</str> > <str name="spellcheck.collate">true</str> > <str name="spellcheck.collateExtendedResults">true</str> > <str name="spellcheck.maxCollationTries">10</str> > <str name="spellcheck.maxCollations">5</str> > </lst> > <arr name="last-components"> > <str>spellcheck</str> > </arr> > </requestHandler> > > > > > *Yirmiyahu Fischer* > > *Senior Developer | **Tel**:* *03-9578900 * > > *E**mail: **[email protected]* <[email protected]>* | **W* > *eb: **www.signature-it.com* <http://www.signature-it.com/> >
