G
Guest
Hi
I'm working on indexing a website. I want to restict the search to only few
file types like .doc,.txt and.ppt
How to specify the file types in the 'ixsso.Query' object
Presently i'n using the following syntax:
dim ixQuery ' Index Server query object.
set ixQuery = Server.CreateObject("ixsso.Query")
ixQuery.Columns = "doctitle, vpath, size, characterization, rank"
strQuery = " (#filename *.doc) AND " &_
"(NOT #vpath *\_vti*) AND (NOT #vpath *\cgi-bin*) AND " &_
" (NOT #vpath *\IISOrigBackup*) AND (NOT #vpath *\scripts*) AND " &_ "(NOT
#vpath *\_private*) AND " &_ "(" & target & ")"
ixQuery.SortBy = "rank[d], doctitle"
ixQuery.Query = strQuery
Can any one help me out? It's urgent
Regards
AVL
I'm working on indexing a website. I want to restict the search to only few
file types like .doc,.txt and.ppt
How to specify the file types in the 'ixsso.Query' object
Presently i'n using the following syntax:
dim ixQuery ' Index Server query object.
set ixQuery = Server.CreateObject("ixsso.Query")
ixQuery.Columns = "doctitle, vpath, size, characterization, rank"
strQuery = " (#filename *.doc) AND " &_
"(NOT #vpath *\_vti*) AND (NOT #vpath *\cgi-bin*) AND " &_
" (NOT #vpath *\IISOrigBackup*) AND (NOT #vpath *\scripts*) AND " &_ "(NOT
#vpath *\_private*) AND " &_ "(" & target & ")"
ixQuery.SortBy = "rank[d], doctitle"
ixQuery.Query = strQuery
Can any one help me out? It's urgent
Regards
AVL