Dear All,
I am using following query for searching the record with indexing services.
Now I want to search DocTitle but I have to give the weightage. Means DocTitle should search only 40%.
strQuery1 = "Select Filename,Size,PATH,rank,DocTitle,HitCount,DocTemplate from Scope() where CONTAINS(DocTitle, '\"" + search + "\"') OR CONTAINS('FORMSOF(INFLECTIONAL, \"" + search + "\")') OR FREETEXT(FileName, '" + search + "') OR FREETEXT(Contents, '\"" + search + "\"') order by rank desc";Can anyone please help me how to do this ?
Thanks,
Harish