mongo traits and memonize search