Example of Sphinx search UDF function