Thinking Sphinx has no interface for UDF (user defined functions, for those of you playing along at home) - but the recent Riddle releases have support for generating SphinxQL queries for adding/removing UDFs:
Riddle::Query.create_function(name, type, file)
Riddle::Query.drop_function(name)
Of course, you'll need to enable SphinxQL via the mysql41 flag for this to work (set mysql41 to a port number in your sphinx.yml), and connect via the MySQL2 gem:
connection = Riddle::Query.connection(address, port)
connection.query(sphinxql_statement)
Hope this helps!
--
Pat
On 04/01/2012, at 9:19 PM, mohitnegi wrote:
> Does Thinking sphinx support UDF of sphinx?
> If yes, then how to integrate?
>
> --
> You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/thinking-sphinx/-/ccIt0JsBO08J.
> To post to this group, send email to thinkin...@googlegroups.com.
> To unsubscribe from this group, send email to thinking-sphi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.