I've got a Content that habtm Areas. The index looks like this:

  define_index do
    indexes title, :sortable => true
    indexes body
    indexes areas(:name), :as => :area_name, :sortable => true

    has created_at
  end

After I rebuild the index and restart Sphinx, I get no results even
for a simple Content.search, just an empty array.

If I simply comment the line that indexes areas(:name), search
instantly works and finds stuff.

What am I doing wrong?

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