Ask a questionAsk a question
 

AnswerMOSS search relevancy + FullTextQuery object

  • Tuesday, October 27, 2009 10:32 PMOttawaTechGuy Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hello All:

    I am using FullTextQuery object to perform search on MOSS scopes. So, if my query looks like:

    Select Title, Author, Description from Scope() where Scope = "All Site"

    How does SharePoint rank the results ?

    Lets say If I have two documents:

    Document 1 has a title 'Test' and it does not have any content that has a word 'Test' in it.
    Document 2 has a title 'ABC' but the content contains the word 'Test' three times.

    If I am searching for word 'Test' using FreeText clause, which result will appear first on list? Does MOSS knows the word in title is a bigger hit then the content of document whose title is different?

    If I customize the weight on property using code? Does it change the results order ? ( I tried that but no luck )


    Any help is appreciated

    Thanks

    SharePoint Developer

Answers

All Replies