Closed tomasohara closed 2 years ago
the (navy 0416) part is not correct. Use "navy 0416" with quotes or ("navy" OR "0416") to fix it
Two points to consider regarding this issue:
If it returned an invalid-query exception, then this would not be a problem. That would allow for more graceful handling of the simpler query that triggers the same issue (i.e., "(a OR b OR c").
The simple fix doesn't change the way normal queries are handled.
Won't Fix would be a better resolution.
I ran into an UnboundLocalError when processing a complex boolean expression:
Here's a simple way to reproduce the error;
As a quick workaround, I apply the following fix: