| aleftwich@gmail.com 2005-03-11, 5:59 pm |
| Hello-
I have a website written in ASP that is using Microsoft Indexing Server
to search through a repository of MS Word documents. The website is
running on IIS 5.0 on a Windows 2000 (SP4) box. I have not had any
problems setting up Indexing Server, but I have had trouble with the
results that I am getting back when I perform a query through the
website.
In each of the Word documents I am searching, there is a line of text
that serves as a title. Here are the 4 examples I will work with:
"Name of the Country is United States of America (USA)"
"Name of the Country is Canada (CAN)"
"Name of the Country is Great Britain (GBR)"
"Name of the Country is India (IND)"
Now let me explain my problem:
-If I search on "country; USA" I will not receive any results.
-If I search on "country; United" then I will receive the correct
results containing the United States document.
-If I search on "country; GBR", then I will receive the correct results
containing the Great Britain document.
-If I search on "country; Great" then I will receive the correct
results containing the Great Britain document.
What I want to know is why my "country; USA" query does not return the
expected results and the "country; GBR" query does. This is how my
query is structured when I send it to MS Indexing Server for
processing:
"{phrase}country; USA{/phrase} and {prop name=rank} > 0"
I tried using a {freetext} query, but that did not work because it
returned every document with the word "country" in it. Does anyone have
any idea on how I could improve my query structure or any other words
of wisdom?
Thanks,
Andrew
|