Class SpellCheckMergeData
- java.lang.Object
-
- org.apache.solr.handler.component.SpellCheckMergeData
-
public class SpellCheckMergeData extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Map<String,SpellCheckCollation>collationsSet<String>originalTermsMap<String,Integer>origVsFreqMap<String,Integer>origVsShardsMap<String,HashSet<String>>origVsSuggestedMap<String,org.apache.solr.client.solrj.response.SpellCheckResponse.Suggestion>origVsSuggestionMap<String,org.apache.lucene.search.spell.SuggestWord>suggestedVsWordinttotalNumberShardResponses
-
Constructor Summary
Constructors Constructor Description SpellCheckMergeData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisOriginalToQuery(String term)voidremoveOriginal(String original)Removes the original word from all maps where original words are used as keys, as well as any collations that contain this original word as a misspelling
-
-
-
Field Detail
-
origVsSuggestion
public Map<String,org.apache.solr.client.solrj.response.SpellCheckResponse.Suggestion> origVsSuggestion
-
collations
public Map<String,SpellCheckCollation> collations
-
totalNumberShardResponses
public int totalNumberShardResponses
-
-