Solr Suggester only adding first value from multivalued fields to suggest dictionary -


I'm using Solr suggestion to return the suggestions for a field that is stored multivalued. . Problem: This document is only added to the first entry dictionary database of documents for documents

  & lt; SearchComponent name = "Suggestion" class = "solr.SuggestComponent" & gt; & Lt; Lst name = "suggester" & gt; & Lt; Str name = "name" & gt; Suggest skeleton & lt; / Str & gt; & Lt; Str name = "lookupImpl" & gt; Org.apache.solr.spelling.suggest.jaspell.JaspellLookupFactory & lt; / Str & gt; & Lt ;! - org.apache.solr.spelling.suggest.fst - & gt; & Lt; Str name = "dictionary emple" & gt; DocumentDictionaryFactory & lt; / Str & gt; & Lt ;! - org.apache.solr.spelling.suggest.HighFrequencyDictionaryFactory - & gt; & Lt; Str name = "field" & gt; Skills & lt; / Str & gt; & Lt; Str name = "weight field" & gt; Skills & lt; / Str & gt; & Lt; Str name = "storeDir" & gt; / Usr / share / solr / live / solr / collection1 / suggestion / & lt; / Str & gt; & Lt; Str name = "Suggest algerfield type" & gt; String & lt; / Str & gt; & Lt; Str name = "buildOnCommit" & gt; True & lt; / Str & gt; & Lt; / Lst> & Lt; / SearchComponent & gt; & Lt; RequestHandler name = "/ suggestions" class = "solr.SearchHandler" startup = "lazy" & gt; & Lt; Lst name = "defaults" & gt; & Lt; Str name = "suggestion" & gt; True & lt; / Str & gt; & Lt; Str name = "suggest.count" & gt; 10 & lt; / Str & gt; & Lt; Str name = "suggest.dictionary" & gt; Suggest skeleton & lt; / Str & gt; & Lt; / Lst> & Lt; Arr name = "component" & gt; & Lt; Str & gt; Suggestion & lt; / Str & gt; & Lt; / Arrival & gt; & Lt; / RequestHandler & gt;  

Imagine the following documents:

  "docs": [{"id": "100444001", "firstName": "peat", " {"Id:" "104,444" "": "" "" "": "" "" "": "" "" " "Bonus", "Last name": "banswex", "skill": ["dog", "front-end engineering"], "_version_": 1482216060556935200}]  

If you search for suggestions, then only available in the Cooch and Mongo / Suggestions area, even after giving suggestions. Build command no idea

Update Tip: As the version 5 of Solr, Suggester now works for respected areas


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -