OK thanks, I do catch the exception and give a response.
I do a stopword check, but the fuzzy search syntax seems way more
complex as it does not like query statements SELECT AND etc.
if (!EnglishAnalyzer.ENGLISH_STOP_WORDS_SET.contains(term)
|| terms.length == 1) {
}
....As we all know, hacks often start with exceptions from fishing.
There have been alot of fishing queries as of late.
On 13/08/2024 20:08, Mikhail Khludnev wrote:
On Sun, Aug 11, 2024 at 11:38 AM Greg Huber<gregh3...@gmail.com> wrote:
Is there a
way to escape these or configure lecene just to return no results rather
than an exception.
I don't think Lucene can handle it since the query parser and index
searcher are separate components, which are wired by some code.
I suppose it's up to custom code around
org.events.business.search.operations.SearchOperation.doRun(SearchOperation.java:202)