I'm a little past the total newbie stage, but still very much new to
Thinking Sphinx.  Things are working for very simple queries, and now
I'd like to do something a tiny bit less simple.  I'd like to search
on 'last' but not on 'first' or 'DOB', but sort on 'first' then 'DOB'

So far I have:

attr_accessible :first, :last, :DOB
...
  define_index do
    indexes last, :sortable => true
    set_property :delta => true
  end

  def self.search_name( query, page )
    search query, :match_mode => :boolean, :order => :last, :sort_mode
=> :asc, :page => page, :per_page => 10
  end

How do I set it up to sort the results on (but not search) 'first'
then 'DOB'?

Many TIA,
Craig

-- 
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