How can I only remove the leading and trailing punctuation from terms when indexing?
The standard tokenizer also splits words like "t-shirt" into "t" and "shirt", and that is not desired in our use case. But we want to turn "t-shirt." into "t-shirt".
Is there a filter available that does this?