mirror of https://github.com/apache/lucene.git
avoid deprecated method call
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150728 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
55bfcc6d47
commit
1129d547da
|
@ -75,7 +75,7 @@ public class TestMultiAnalyzer extends TestCase {
|
|||
assertEquals("\"(multi multi2) foo\"^2.0", qp.parse("\"multi foo\"^2").toString());
|
||||
|
||||
// non-default operator:
|
||||
qp.setOperator(QueryParser.DEFAULT_OPERATOR_AND);
|
||||
qp.setDefaultOperator(QueryParser.AND_OPERATOR);
|
||||
assertEquals("+(multi multi2) +foo", qp.parse("multi foo").toString());
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue