diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-04-01 14:34:39 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-04-01 14:58:13 -0400 |
commit | 72598f750d732c08c98f5f578bf1335acd78e10e (patch) | |
tree | d80364b07b25210f5724ba6e6506650be657c74e /src/mongo/db/fts/stemmer_test.cpp | |
parent | 3cf0c18aa2c56949fda47ab35570489d68965370 (diff) | |
download | mongo-72598f750d732c08c98f5f578bf1335acd78e10e.tar.gz |
SERVER-17520: Add support for pluggable FTS tokenizers
Diffstat (limited to 'src/mongo/db/fts/stemmer_test.cpp')
-rw-r--r-- | src/mongo/db/fts/stemmer_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/fts/stemmer_test.cpp b/src/mongo/db/fts/stemmer_test.cpp index 9037715d4da..bef556bf2ad 100644 --- a/src/mongo/db/fts/stemmer_test.cpp +++ b/src/mongo/db/fts/stemmer_test.cpp @@ -38,13 +38,13 @@ namespace mongo { namespace fts { TEST( English, Stemmer1 ) { - Stemmer s( languageEnglishV2 ); + Stemmer s( &languageEnglishV2 ); ASSERT_EQUALS( "run", s.stem( "running" ) ); ASSERT_EQUALS( "Run", s.stem( "Running" ) ); } TEST( English, Caps ) { - Stemmer s( languagePorterV1 ); + Stemmer s( &languagePorterV1 ); ASSERT_EQUALS( "unit", s.stem( "united" ) ); ASSERT_EQUALS( "Unite", s.stem( "United" ) ); } |