7a9c7e6a00
org.apache.lucene.util.QueryBuilder returns a null query when given an empty string to tokenize (see line 245). We can detect this case earlier in the query building process and return a readable error to the user. This may not be the only way that QueryBuilder can return a null query, so add a null check in LuceneChangeIndex so the resulting stack trace is less obtuse. Change-Id: Icf9a1ab50881d61ae4400a34cc2ce7e2a78e1162 |
||
---|---|---|
.. | ||
src/main/java/com/google/gerrit/lucene | ||
BUCK |