Hi Sébastien
There is a search_for_ids method on each indexed model, as well as
ThinkingSphinx.search_for_ids - this will return just the primary key
values for the matching records. I'm pretty sure it'll be fast enough
with a large data-set - but that will depend on the complexity of your
query.
http://freelancing-god.github.com/ts/en/searching.html#ids
(Only added this to the documentation a couple of days ago)
--
Pat