Extraído de uma postagem no grupo do Google ( https:// groups.google.com/forum/?fromgroups#!topic/mongodb-user/7jWUbunUcFQ ):
final DBObject textSearchCommand = new BasicDBObject();
textSearchCommand.put("text", collectionName);
textSearchCommand.put("search", textToSearchFor);
final CommandResult commandResult = db.command(textSearchCommand);
Mostra exatamente como formatar o comando.