need help on Indexing service - urgent
From: AVL (AVL_at_discussions.microsoft.com)
Date: 08/14/04
- Next message: Jerome Wilson: "Warning about CodeObject plugin"
- Previous message: Johny Cage: "Re: IDE Stop Responding while Editing Large ASP files"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 14 Aug 2004 04:53:02 -0700
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 help me out? It's urgent
Regards
AVL
- Next message: Jerome Wilson: "Warning about CodeObject plugin"
- Previous message: Johny Cage: "Re: IDE Stop Responding while Editing Large ASP files"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|