2
load( "jstests/libs/fts.js" );
4
t = db.fts_partition_no_multikey;
7
t.ensureIndex( { x : 1, y : "text" } )
9
t.insert( { x : 5 , y : "this is fun" } );
10
assert.isnull( db.getLastError() );
12
t.insert( { x : [] , y : "this is fun" } );
13
assert( db.getLastError() );
15
t.insert( { x : [1] , y : "this is fun" } );
16
assert( db.getLastError() );
18
t.insert( { x : [1,2] , y : "this is fun" } );
19
assert( db.getLastError() );