mirror of https://github.com/apache/lucene.git
- Cosmetics.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149936 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c694d44442
commit
51585c68da
|
@ -535,7 +535,7 @@ 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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue