There is a search_for_ids method.  See this 
page<http://pat.github.com/ts/en/searching.html#ids>
.

On Tuesday, October 2, 2012 8:27:16 PM UTC-4, Eric wrote:
>
> I'm returning a fairly large data set from sphinx for a client with a lot 
> of filter attributes.  I'm trying to get just the active record IDs.  
>
> I'm seeing significant delays and a lot of memory usage.  In debugging 
> this I noticed that in search.rb's compose_ids_results, the @results object 
> contains not only the active record IDs but pretty much my entire index 
> with all the filter attributes.  This is a lot of data and very slow for 
> sphinx to return to my rails app.
>
> I'm wondering if there is a way to tell sphinx not to return everything it 
> knows about each document and just return the sphinx_internal_id?
>
> Thanks much,
> Eric
>

-- 
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/-/gM9WknY9FlAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to