ah looks like I need to use copyField to get a non stemmed version of the suggester field
Alistair -- mov eax,1 mov ebx,0 int 80h On 17/06/2015 11:15, "Alistair Young" <alistair.yo...@uhi.ac.uk> wrote: >I was wondering if there's a way to get the suggester to return whole >words. Instead of returning 'technology' , 'temperature' and 'tutorial', >it's returning 'technolog' , 'temperatur' and 'tutori' > >using this config: > ><searchComponent class="solr.SpellCheckComponent" name="suggest"> > <lst name="spellchecker"> > <str name="name">suggest</str> > <str >name="classname">org.apache.solr.spelling.suggest.Suggester</str> > <str >name="lookupImpl">org.apache.solr.spelling.suggest.fst.WFSTLookupFactory</ >str> > <str name="field">dc.subject</str> > <float name="threshold">0.005</float> > <str name="buildOnCommit">true</str> > </lst> > </searchComponent> > <requestHandler class="org.apache.solr.handler.component.SearchHandler" >name="/suggest"> > <lst name="defaults"> > <str name="spellcheck">true</str> > <str name="spellcheck.dictionary">suggest</str> > <str name="spellcheck.onlyMorePopular">true</str> > <str name="spellcheck.count">10</str> > <str name="spellcheck.collate">true</str> > </lst> > <arr name="components"> > <str>suggest</str> > </arr> > </requestHandler> > >thanks, > >Alistair > >-- >mov eax,1 >mov ebx,0 >int 80h