Assuming these two classes and indexes:
class Store < ActiveRecord::Base
has_many :store_akas
define_index do
indexes store_akas.name, :as => :akas
end
end
class StoreAka < ActiveRecord::Base
belongs_to :store
define_index do
indexes :name
end
end
This search on StoreAka produces a match:
StoreAka.search('^BlahBlah$', :match_mode => :extended2).blank? =>
false
While the same call on Store doesn't, even though it should:
Store.search('^BlahBlah$', :match_mode => :extended2).blank? => true
I've verified that the start/end modifiers DO match properly for
primary attributes of Store -- just not with attributes of the
StoreAka joined table.
--
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.