I am currently working with SOLR spellcheck feature. I am faced with a problem of not able to find the original frequency for the input when it has whitespaces.
For example,
spellcheck.q=aple
returns me origFreq for the word 'aple'
However, when I input a text with spaces like bank of amarica
, I am not getting the frequency of the whole word. Instead it is giving individual word's frequency. The suggestion for this is given via the collation in solr.
Is there a way to get the hits
of the input entered with spaces, in this case bank of amarica
?