Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Default query throws ParserException to the browser

Help
lrbuermann
2014-04-11
2014-04-11
  • lrbuermann
    lrbuermann
    2014-04-11

    When using the default query, any query that ends up throwing a org.apache.lucene.queryParser.ParseException throws the exception as XML to the browser. Granted this only happens on unusual queries (like a blank space), but this isn't ideal for a web page that directs to a Renderer to display. Is there any way to wrap this so that the exception isn't thrown to the browser, and we can display a user friendly message on the renderer?