SHAREPOINTSearch.com

Welcome to SHAREPOINTSearch.com Sign in | Join

in Search
Skip Navigation Links
Home
Resource CenterExpand Resource Center
Research CenterExpand Research Center
BIG Resource List
Blog Zone
Forums
RequestsExpand Requests
About Us

Improving Search Relevance in MOSS for Managed Properties

Last post 09-21-2007 8:27 AM by Padmaja. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 09-18-2007 9:21 AM

    Improving Search Relevance in MOSS for Managed Properties

    Hi,
     I have configured MOSS search using BDC.
    I am trying to change the search relevance settings for the managed properties.
    I have tried resetiing weight proprty, but it is not taking affect.
    How to improve relevance for managed properties in MOSS?

    Is there other ways to do that?

    Thanks in Advance

  • 09-18-2007 1:17 PM In reply to

    Re: Improving Search Relevance in MOSS for Managed Properties

    How did you set the weight property? Did you use the code sample on MS (http://msdn2.microsoft.com/en-us/library/ms553069.aspx). Are you sure it took, there is a bug in the sample, they forgot to call update.

    What number did you actually set it to? The Title property is the default highest at around 75.

     

    Christopher Even
    SHAREPOINTSearch.com founder
  • 09-19-2007 1:46 AM In reply to

    Re: Improving Search Relevance in MOSS for Managed Properties

    Hi, Thanks for the reply.

    I am using the following code to update the weight property for one of the managed property.

    property.Weight = 70;

    property.Update();

    After this change I have restarted the Search Service, and tested the portal search.

    When I am trying to search by giving a word which is one of the possible value for the managed property to which I have reset the weight. But even then in the search results I found some of the results returned in the top are not much relevant. Is there any other ways to improve the search relevance for the managed properties.

    In my Scenario my Search is configured for Customers.Below are the managed properties by BDC for Search.

    Customer Name, Address, City, State, Country, FrequentItems

    I am trying to reset the weight property for the FrequentItemsto 70. So after the change when I am searching for the word car, then in the results returned in the top results it is also showing the results which has customer name contating "car". So it is misxing both the higher relevance results with low relevance values. I want the results in such a way that all the results which has "car" in frequentitems listed in the top and then remaining ones. Here Customer Name has the weight as 0.

    Is there a way that I can achieve it.

    Regards,

    Padmaja

     

     

  • 09-19-2007 8:32 AM In reply to

    Re: Improving Search Relevance in MOSS for Managed Properties

    I just did a quick test and verified that the changing of the properties effect is immediate, no need to do an iisreset or restart the search service.

    Quick question. Is Customer Name marked as the Title in your BDC definition? If yes then try setting the weight to 100 to be greater than the Title weight.

     

    Christopher Even
    SHAREPOINTSearch.com founder
  • 09-20-2007 12:45 AM In reply to

    Re: Improving Search Relevance in MOSS for Managed Properties

    Hi,
    I really appreciate your help.
    I have tried setting the weight to 100 for the FrequentItems managedProperty, but still in Search results most relevant and least relavant results are mixed in the top results.
    And I have checked in y BDC metatadata file, and found that CustomerName is marked as title in that.
    I suspect this might be the reason, the most and least relevent results are mixed up in the top search results.
    So I have tried resetting the Title weight to "0" from 75.855(default weight for Title).
    Now I am able to see the results in the way that I wanted.
    But if I am going to follow this approachand reset the Title weight to zero, then it will affect even All Sites search and any other search on that site, as Title is the Default managed property.

    Is there any other way that I can get the most relevant results in the top results, without resetting the Title weight to zero and keeping CustomerName marked as Title in BDC? If not is there going to be any effect if I remove the line of code which is marking "CustomerName" as "title"? Currently on my Business DataList webpart, in the data retrieved for CustomerName I am getting the action URL as "Customer Details", will this be affected?

    <Entity EstimatedInstanceCount="10000" Name="Customer">

    <Properties>

    <Property Name="Title" Type="System.String">CustomerName</Property>

    <Property Name="DefaultAction" Type="System.String">Customer Details</Property>

    </Properties>

    </Entity >

    I have one more query, I have a crawled property exposed by BDC, but there is no Managed Property defined for that.
    But still I am able to search based on that crawled property. Now I want to improve the Search relevance for that crawled property also.

    To improve the relevance is it mandatory to create the managed property for the crawled property exposed by BDC?

    Thanks.

     

  • 09-20-2007 6:48 AM In reply to

    Re: Improving Search Relevance in MOSS for Managed Properties

    Try setting the title back to 75.855 and then set the FrequentItems to 10000. This should overpower the relevancy of Title when FrequentItems Exists. The weight value can go higher than 100. I have modified my freeware tool at http://sharepointsearch.com/cs/files/folders/searchtools/entry2527.aspx to have a limit of 10000 now not 100.

    You need to have a title or else the data won't display properly in search results or web parts.

    The reason you are able to still search on that property is because its content is in the full text index along with all the other metadata for that BDC item. There are of course many other things involved in determining relevancy besides property weighting, like term frequency and nearness of words, so I suppose you could create like 50 different variations of that same column. eg. <Property Name="FrequentItems1" Type="System.String">FrequentItems<Property><Property Name="FrequentItems2" Type="System.String">FrequentItems<Property><Property Name="FrequentItems3" Type="System.String">FrequentItems<Property>  so that in the full text index the terms would appear more frequently for the given item.

     

    Christopher Even
    SHAREPOINTSearch.com founder
  • 09-21-2007 8:27 AM In reply to

    Re: Improving Search Relevance in MOSS for Managed Properties

    Hi,

    Thanks for the information. I will try out this solution.

     

    Regards,

    Padmaja

Page 1 of 1 (7 items)
SHAREPOINTSearch.com is not affiliated with or endorsed by the Microsoft Corporation.See our Terms, Conditions and Privacy Statements
SharePoint is a trademark of the Microsoft Corporation.