Hi!
I read in the docs that you could specify some options directly when
defining an index. Lets say I have this index on a person model:
define_index do
indexes :name
end
So instead of searching like this:
Person.search("Steven", :include => :company)
I could do this if I always wanted to include company when searching
the person model.
define_index do
indexes :name
set_property :include => :company
end
But that does not work for me. I have to specify the options to the
search method.
Did I misunderstand something or what? I did reconfigure and reindexed
after the update.
Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---