Code 2.0 for query expansion with BO1 scheme.