Searching on meaningless input, such as tokens which are all stopwords, throws a SearchException; it would be nice to have a subtype of SearchException so that business logic can catch the specific event and react appropriately.
See also https://bugzilla.redhat.com/show_bug.cgi?id=831569#c2