Ferret question - need help with syntax for exact matching

My apologies, since this may not exactly be the appropriate place for
this post, but… posted this on the Ruby Ferret Forum, and did not
get any responses (board is not very active)

I have a need for a layer of access control when performing a query on
the ferret index. The solution is to add an dditional 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?

jamie wrote:

I have a need for a layer of access control when performing a query on
the ferret index. The solution is to add an dditional 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?

Perhaps

+access_teams:12|13|14|22|1


Rails Wheels - Find Plugins, List & Sell Plugins -
http://railswheels.com