I am using Solr 6.6's Suggester functionality to power an autosuggest
widget that returns lists of people's names.
One requirement that we have is that the suggester be
punctuation-insensitive. For example, entering:
'Dr Joh' should provide the suggestion 'Dr. John', despite the fact that
the user omitted the period after 'dr'.
'Hank Williams Jr' should provide the suggestion 'Hank Williams, Jr.'
despite the omission of both the comma and the period.
This functionality is present - but the punctuation-stripping appears to be
causing highlighting offsets to be miscalculated: we end up with '<b>Dr
Jo</b>hn' for the first query and '<b>Hank Williams, J</b>r.' for the second
Here's are the relevant parts of the solrconfig.xml and schema.xml