Problem in View Search in notes client

I have 3 Groups and 1 People in Address book.

Groups:

Group

Group%Part1

Group%Part2

People:

User A

Now

  1. Group%Part2 has User A in Members field.

  2. Group%Part1 has Group%Part2 in Members Field.

  3. Group has Group%Part1 in Members Field.

Now when I search the view with notes client search, search queries are:

  1. Query : Field Members contains UserA.

    Result Shows: Group%Part2

  2. Query : Field Members contains Group%Part2

    Result Shows: Group%Part1

  3. Query : Field Members contains Group%Part1

    Result Shows: Group

  4. Query : Field Members contains Group

    Result Shows: Group

                        Group%Part1
    

Now there is problem with 4 query. According you me it should not show any result as Members field does not have Group.

Please suggest to solve the issue.

Thanks

Subject: Problem in View Search in notes client

The search result is perfectly correct.

“contains” does not mean “matches exactly”. As the strings “Group%Part1” and “Group%Part2” contain the string “Group”, both documents containing the string “Group” anywhere in the Members field are returned.

Subject: RE: Problem in View Search in notes client

Thanks.

So what query gives the expected result. “matches exactly”.

Subject: RE: Problem in View Search in notes client

There is in general no way to enforce an exact match when searching or field content.

In you case - because of the naming scheme - you would probably get the desired result with a query like

FIELD Members CONTAINS Group and FIELD Members NOT CONTAINS Group%