fixed autocomplete submit
The fan of endpoint now uses redis and es instead of SQL