Not sure what you mean by searching on path.
Code snippet looks like this
strQuery = "@all " & target & ""
dim ixQuery ' Index Server query object.
set ixQuery = Server.CreateObject("ixsso.Query")
if (Err.description <> "") Then
Response.Write ("<p><b>Query object Error: " & Err.description &
".</b></p>" & vbCRLF)
Exit sub
end if
ixQuery.AllowEnumeration = True
ixQuery.Columns = "doctitle, vpath, path, filename, size, write,
characterization, rank"
ixQuery.SortBy = "filename[a]"
So when the name "administration" exists in a physical path to at filename I
would expect the file and pathname to be returned from my search
where target = administration or target = administ*
But this is not the case. Only when the word "administration" exists in the
filename og in the file context a match is returned.
Post by Hilary CotterAre you searching on path? It should show up in path.
--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
Post by hjpalI have tried AllowEnumeration = True
but this has no impact on the results.
E.g.
if the searchstring contains the "directory" or "director*" I would expect
this as a match
file://servername/name of directory to/name of file.doc
assuming there was a directory called "name of directory to"
But I get "no match"
Post by Hilary Cotterset allowenumeration to true.
--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
Post by hjpalI am using this for the search in the filesystem.
Doing a seach documents and there path are retrieved when the
searchstring
Post by Hilary CotterPost by hjpalcontains words that match words in the filename or conents of the file.
Using words that match only words in the path to the filename gives no
match.
Is that not possible?