Microsoft Office Sharepoint Server 2007 (MOSS) – Advanced Search – Turn on “contains” again

As you may have noticed the "contains" and "does not contain" search options were removed with build 6317.
contains-01

The reason for this is, that this options can heavily decrease performance. But you can simply turn the options on again:

1. Goto to the Advanced Search site and edit it
contains-02

2. Modify the "Advanced Search Box" Webpart
contains-03

3. Expand Properties and edit Properties
contains-04 

4. Find "Option Name=AllowOpContains" and change the Value to "True"
<Name=AllowOpContains" Value="False"> –> Contains option turned off
<Name=AllowOpContains" Value="True"> –> Contains option turned on
contains-05 
If you cannot find the entry, create it.

5. Click OK and publish the page.

Have fun!

Be Sociable, Share!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>