Click here to Skip to main content
15,896,727 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am using Indexing server to search my ASP legacy system. I need to find the hitcount for a particular word eg"Brand" , but my query is returning 1 as hitcount, no matter how many such Brand words are present in pdf files. Please help! thanks. my code is pasted below!

strSearch="Select DocTitle, Filename, VPath, Size,HitCount, Write, Characterization, Rank,path from SCOPE('DEEP TRAVERSAL OF " & Chr(34) & strScope & Chr(34) & "' ) where FREETEXT(CONTENTS,'" & strQuery & "') and RANK <> 0 AND HitCount <> 0 and FILENAME like '%.pdf' "

here hitcount returns always 1 :((
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900