gerrit/gerrit-lucene
Dave Borowitz 7a9c7e6a00 Lucene: Prohibit searching empty string over a full-text field
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
2015-05-29 12:19:12 -07:00
..
src/main/java/com/google/gerrit/lucene Lucene: Prohibit searching empty string over a full-text field 2015-05-29 12:19:12 -07:00
BUCK Update Lucene to 5.0.0 2015-03-25 12:21:59 -07:00