use elasticsearch to search photos
start migrating to symfony2