make view use elasticsearch