AtlasOfLivingAustralia / bie-webapp2

Deprecated - see bie-plugin, generic-bie and ala-bie
http://bie.ala.org.au
0 stars 3 forks source link

BIE search fails if I include brackets #18

Closed mbohun closed 6 years ago

mbohun commented 10 years ago

migrated from: https://code.google.com/p/ala/issues/detail?id=560 date: Wed Feb 5 13:30:21 2014 author: john.t...@austmus.gov.au


A search for Kookaburra fails in BIE. It appears to be a sub-genus problem.

Search term Dacelo (Dacelo) novaeguineae _FAILS_ http://bie.ala.org.au/search?q=+Dacelo+%28Dacelo%29+novaeguineae Error message: Search for Dacelo (Dacelo) novaeguineae did not match any documents

The following search terms work: Kookaburra Dacelo novaeguineae Dacelo () novaeguineae

The same failure occurs with other species which have sub-genus in brackets - eg bees: Hylaeus (Prosopisteron) baudinensis Homalictus (Homalictus) urbanus

I occasionally got an error message like this: Error Failed calling web service. class java.io.IOException Server returned HTTP response code: 500 for URL: http://bie.ala.org.au/ws/search.json?q=%28&start=0&pageSize=10&sort=score&dir=asc URL= http://bie.ala.org.au/ws/search.json?q=%28&start=0&pageSize=10&sort=score&dir=asc. URL: http://bie.ala.org.au/search?q=%28