Hi all,
I'm trying tu use :with_all in a search query in a single value
attribute but I have some problems with array values. It seems that
this kind of filter works only for multivalue attributes.
So, for instance, given :user_id as a single value attribute, the
following string produces no results
Item.search :match_mode => :full_scan, :with_all => {:user_id =>
[1,2,3]}
but the following does:
Item.search :match_mode => :full_scan, :with_all => {:user_id => 1}
I'm missing something...or is a lack of a feature or a bug?
Thank you very much,
Nicola.
--
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.