Issue 13421
When putting a comma into a species search text bo...
13421
Reporter: trobertson
Assignee: mdoering
Type: Bug
Summary: When putting a comma into a species search text bo...
Description: When putting a comma into a species search text box you get a "service no available exception"
Resolution: Fixed
Status: Closed
Created: 2013-07-01 08:34:00.721
Updated: 2013-07-01 16:31:03.714
Resolved: 2013-07-01 16:31:03.681
Author: mdoering@gbif.org
Created: 2013-07-01 14:58:17.523
Updated: 2013-07-01 14:58:17.523
We seem to have not tested searches with special characters properly. The comma causes trouble in solr when using the TrieIntField in the key property of the schema. This seems awkward and might even be a solr issue, but using the older IntField type instead of TrieIntField for the key field solves the Invalid Number problem solr generates for queries containing a comma.
Still when doing a search with a comma followed by an integer the resulting solr query is a range query "x TO y" which is wrong and causes even more trouble.