Getting TSphinxContext from within a service

Why would you do that? You could do something like this:

But still, you need to provide the core options object which should come from a TSphinxConfig component.