mirror of https://github.com/apache/lucene.git
Renamed NullTokenizer and Analyzer to WhitespaceTokenizer and Analyzer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149645 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2ae22a31e3
commit
d0473acefc
|
@ -101,7 +101,7 @@ public class TestAnalyzers extends TestCase {
|
|||
}
|
||||
|
||||
public void testNull() throws Exception {
|
||||
Analyzer a = new NullAnalyzer();
|
||||
Analyzer a = new WhitespaceAnalyzer();
|
||||
assertAnalyzesTo(a, "foo bar FOO BAR",
|
||||
new String[] { "foo", "bar", "FOO", "BAR" });
|
||||
assertAnalyzesTo(a, "foo bar . FOO <> BAR",
|
||||
|
|
|
@ -178,7 +178,7 @@ public class TestQueryParser extends TestCase {
|
|||
}
|
||||
|
||||
public void testPunct() throws Exception {
|
||||
Analyzer a = new NullAnalyzer();
|
||||
Analyzer a = new WhitespaceAnalyzer();
|
||||
assertQueryEquals("a&b", a, "a&b");
|
||||
assertQueryEquals("a&&b", a, "a&&b");
|
||||
assertQueryEquals(".NET", a, ".NET");
|
||||
|
|
Loading…
Reference in New Issue