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>
collations
Set<String>
originalTerms
Map<String,Integer>
origVsFreq
Map<String,Integer>
origVsShards
Map<String,HashSet<String>>
origVsSuggested
Map<String,org.apache.solr.client.solrj.response.SpellCheckResponse.Suggestion>
origVsSuggestion
Map<String,org.apache.lucene.search.spell.SuggestWord>
suggestedVsWord
int
totalNumberShardResponses
-
Constructor Summary
Constructors Constructor Description SpellCheckMergeData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isOriginalToQuery(String term)
void
removeOriginal(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
-
-