03-04-05 07:48 AM
Hi,
I'm using Index Server on Win Server 2k3 with the ixsso object to query the
"Web" catalog. Here's a code snippet:
Set objQuery = Server.CreateObject("ixsso.Query")
With objQuery
.Catalog = "Web"
.Query = "(@all " & strQuery & ") &! #path *\_vti_*"
.MaxRecords = 50
.SortBy = "rank [d]"
.Columns = "doctitle, filename, path, vpath, write, size, rank"
End With
Set rstResults = objQuery.CreateRecordset("nonsequential")
The problem is that the query does not honor the indexing restrictions setup
for certain folders when searching for filenames. For example, even though I
disable indexing on a particular folder, I still get filename matches from
that folder.
I want the index server query to honor these folder exclusions when it finds
matches not only in content but also by filename.
Does anyone know how I can accomplish this?
Thanks in advance!
Jim
[ Post a follow-up to this message ]
|