DCSIMG
Tow tips about MOSS search managed properties - itaysk

Tow tips about MOSS search managed properties

Posted Tuesday, October 07, 2008 1:02 PM by Itay Shakury

UPDATE: Since this post was published, lots of updates and fixes was released that effected implicit wildcard search for properties - The "Contains" operator was removed from advanced search UI. You CAN revert this. About keyword search - seems to default to "Equal" instead of  "Contains", expet for searching by "Author" or user profiles properties. More info here: http://blogs.microsoft.co.il/blogs/itaysk/archive/2009/04/16/contains-operator-disappeared-from-advanced-search.aspx

Here are tow facts I have discovered about property search in MOSS.
Just to be clear, when I say property search, I mean searching by any one of the managed properties defined, using keyword query, or advanced search.
Property search example using keyword search -
 Author search
Property search example using advanced search -
 Author advanced search

Once we got that settled, lets talk about what happen when you search by properties.

Properties automatically support wildcard search

Yes that wildcard issue again. We all know wildcard search is supported in MOSS, but requires developing a custom search solution.
Having said that, if you search by properties and not by keywords, wildcard search is working implicitly. Even without including a wildcard character. (When using advanced search, the "Contains" operator makes it more clear)

Take this for instance:
I search for the following keyword: "Car" -  I might get results like "Car for sale.docx".
I search for the following property query: "Title: Car". I might get results like "Carnival.pdf".

See the difference? This can be particularly useful when you search for people by name, and you don't know exactly how they are spelled. So in order to find an employee called "Itay Shakury", you can just search for "It".

Properties doesn't obey thesaurus

Another tidbit about property searches. They doesn't seem to obey thesaurus. (more about setting up thesaurus here).

Take this for instance:
You define an expansion set in you thesaurus file as follows:

<expansion>
    <sub>run</sub>
    <sub>jog</sub>
</expansion>

Now you might expect that if you search for "run" , you will get results for "jog".
I search for the following keyword: "run" - I might get results like "I can run.docx" as well as results like "I can jog.docx".
I search for the following property query: "Title: Run" - I will get results like "I can run.docx", and WON'T get results like  "I can jog.docx".

Comments

# Links (10/8/2008) &laquo; Steve Pietrek - Everything SharePoint

Wednesday, October 08, 2008 8:26 PM by Links (10/8/2008) « Steve Pietrek - Everything SharePoint

Pingback from  Links (10/8/2008) &laquo; Steve Pietrek - Everything SharePoint

# re: Tow tips about MOSS search managed properties

Thursday, April 09, 2009 4:22 PM by rebecca

great post!

My only question is...how do you configure the 'Contains' to display in the pull-down menu under 'add property restrictions'?  Please send  me an email on this if you can....rebecca.wisnefski@us.fujitsu.com

# re: Tow tips about MOSS search managed properties

Thursday, April 16, 2009 8:07 PM by Itay Shakury

Hi Rebbeca,

I have updated the post to reflect recent changes to the product. Please follow the instructions in the linked post.

Itay Shakury.

# re: Tow tips about MOSS search managed properties

Saturday, June 20, 2009 6:41 AM by Kolson

cards, which were\'four suits ofdetermined. They are

<a href=jiggmin.com/.../member.php>rechargeable">jiggmin.com/.../member.php flashlights</a>fashionable in Italyproduction may wellMaria Visconti, dukeexpress and

[url=jiggmin.com/.../member.php]sex flashlight[/url]of the time). Theappeared regularlythe gods gives

# re: Tow tips about MOSS search managed properties

Friday, July 24, 2009 9:06 AM by Jonas

Are the space after the property there by purpose?

I had the impression you search by managed property like this:

Title:something

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: