Update search.py

Removed unused container_factory import.