Search profile fix

Change search_profile() `filters` parameter to `functions`. Use `function_score` query instead of deprecated `custom_filters_score`. Use the built-in decay function instead of rolling our own.