Pittsburgh-NEH-Institute / pr-app

eXist-db app development
MIT License
3 stars 1 forks source link

[BUG] Search throws error on invalid Lucene input #68

Closed djbpitt closed 2 years ago

djbpitt commented 2 years ago

Expected behavior

Invalid search values should return human-friendly notification

Actual behavior

Invalid search values raise ugly eXist-db errors

Reproduction steps

Search for just a question mark

Additional information

Fix with try/except

djbpitt commented 2 years ago

Fixed by @ljo and @djbpitt