Hi Anthony

What do you mean by only giving you first name and last name? Do you want to 
search on only those two fields? If so, something like this should do the trick:

  Model.search "@(first_name,last_name) Anthony", :match_mode => :extended

But otherwise, I'm not sure what you mean.

-- 
Pat

On 07/09/2011, at 8:14 AM, alassiter wrote:

> I have indexing turned on for several fields b/c I want to be able to
> search them. The result returns lets say, 5 records. Each records
> contains all the fields in the model. I only want first_name and
> last_name.
> 
> How do I tell ThinkingSphinx to only give me first_name and last_name?
> 
> Thank you
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> 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.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
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