There are always some steps to take care of in these situations : 1) have you checked that your destination copied field is fine ? Is it containing what you expect ? have you investigated the indexed terms ?
2) Have you built your suggester ? It doesn't build on startup or onCommit ( reading your config) , so you should build it to see the suggestions Hard to believe it depends on your copyfield , from the Suggester perspective , it doesn't know if the field configured is coming from a copy field or not. Cheers 2015-09-21 11:34 GMT+01:00 sara hajili <hajili.s...@gmail.com>: > hi all > i wanna to get suggestion from multi field in solr. > i add this to solrConfig > <searchComponent name="suggest" class="solr.SuggestComponent"> > <lst name="suggester"> > <str name="name">mySuggester</str> > <str name="lookupImpl">FuzzyLookupFactory</str> > <str name="dictionaryImpl">DocumentDictionaryFactory</str> > <str name="field">suggestStr</str> > <str name="weightField">like_count</str> > <str name="suggestAnalyzerFieldType">string</str> > <str name="buildOnStartup">false</str> > </lst> > </searchComponent> > <requestHandler name="/suggest" class="solr.SearchHandler" startup="lazy"> > <lst name="defaults"> > <str name="suggest">true</str> > <str name="suggest.count">10</str> > </lst> > <arr name="components"> > <str>suggest</str> > </arr> > </requestHandler> > > and add this to schema: > <copyField source="*" dest="suggestStr" /> > and > <field name="title" type="text_fa" indexed="true" stored="true" > termVectors="true"/> > <field name="caption" type="text_fa" indexed="true" stored="true" > termVectors="true"/> > <field name="content" type="text_fa" indexed="true" stored="true" > termVectors="true"/> > <field name="suggestStr" type="textSuggest" indexed="true" stored="true" > multiValued="true" termVectors="true" /> > > but i didn't get any result from this suggest query: > > http://localhost:8983/solr/post/suggest?suggest=true&suggest.dictionary=mySuggester&wt=json&suggest.q=solr > > but when i used one field (not copy field ) i got answer. > how i solve my problem with copy field? > -- -------------------------- Benedetti Alessandro Visiting card - http://about.me/alessandro_benedetti Blog - http://alexbenedetti.blogspot.co.uk "Tyger, tyger burning bright In the forests of the night, What immortal hand or eye Could frame thy fearful symmetry?" William Blake - Songs of Experience -1794 England