Lets say we have a bunch of articles each with a bunch of tags. There
is, however, a special tag like "super-awesome". Is there a way to
weight results such that articles tagged with "super-awesome" match
higher than those without?

set_property :field_weights => {
      'title' => 100,
      'author_name' => 90,
      'body' => 70,
      'tag_names' => 50,
}

...

  define_index do
    indexes title, body
    indexes tags.name, :as => :tag_names
    indexes authors.name :as => :author_name

I don't know if this is doable within Thinking Sphinx.

--

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