Forum: Ferret exact matching in a query

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jamie A. (Guest)
on 2008-11-06 17:28
I have a need for a layer of access control when performing a query on
the ferret index.  The solution is to add an additional clause (e.g. -
access_teams:12 OR 13 OR 14 OR 22 OR 1).  In order for this to work, I
need exact matching. This query does not perform an exact match. It
appears if the index record has access_teams=2  the query will return
this record.

Can someone help me with the syntax for exact matching?
This topic is locked and can not be replied to.