Re: Search for words in paths to a filename



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.





"Hilary Cotter" <hilary.cotter@xxxxxxxxx> skrev i en meddelelse
news:%23FS8FfjZHHA.4420@xxxxxxxxxxxxxxxxxxxxxxx
Are 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



"hjpal" <hjpal@xxxxxxxxxxxx> wrote in message
news:uOh9ZUKZHHA.1008@xxxxxxxxxxxxxxxxxxxxxxx
I 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"






"Hilary Cotter" <hilary.cotter@xxxxxxxxx> skrev i en meddelelse
news:%23NJ9a3jYHHA.3272@xxxxxxxxxxxxxxxxxxxxxxx
set 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



"hjpal" <hjpal@xxxxxxxxxxxx> wrote in message
news:u3sCxULYHHA.208@xxxxxxxxxxxxxxxxxxxxxxx


I am using this for the search in the filesystem.
ixQuery.Query = "@All " & searchstring &""

The "@All" should search in all properties.

Doing a seach documents and there path are retrieved when the
searchstring
contains 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?










.


Loading