Hey all. Before embarking on it myself, I thought I'd see if anyone else had code to clean up search strings before sending them to solr.

I've run into a bunch of these when blindly sending searches typed into our current catalog into vufind during load testing. For example, anything with a bare '+' or '-'  (e.g., "bill + dueber") will throw an error (which vufind then fails to catch, but that's a different issue...)

So...anyone?

--
Bill Dueber
Library Systems Programmer
University of Michigan Library