- Cosmetics.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149936 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2003-01-23 02:03:55 +00:00
parent c694d44442
commit 51585c68da
1 changed files with 2 additions and 2 deletions

View File

@ -535,8 +535,8 @@ Query Term(String field) : {
} }
catch (Exception ignored) { } catch (Exception ignored) { }
// could happen with boosted stopword // avoid boosting null queries, such as those caused by stop words
if(q != null) { if (q != null) {
q.setBoost(f); q.setBoost(f);
} }
} }