473,395 Members | 1,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

need help on indexing service-urgent

AVL
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
Nov 21 '05 #1
1 1438
* =?Utf-8?B?QVZM?= <AV*@discussions.microsoft.com> scripsit:
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


That seems to be VBScript code. For VBScript consider posting to one of
these groups:

<URL:news://news.microsoft.com/microsoft.public.scripting.vbscript>
<URL:news://msnews.microsoft.com/microsoft.public.scripting.wsh>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: DLacey | last post by:
I have a .NET C# application that uses the indexing service. It adds folders to the catalog to be indexed, removes them, etc. Currently the application requires the user be an admin user in order...
10
by: Rob | last post by:
Is there a way to query Microsoft's index server service from an Access front-end? When you run the index service on a workstation (or a server), you can full-text index a directory/series of...
0
by: Rob | last post by:
Is there a way to query Microsoft's index server service from an Access front-end? When you run the index service on a workstation (or a server), you can full-text index a directory/series of...
3
by: sandrina | last post by:
Hello everyone, My name is Debi and I am an Administrative assistant with a large company in their sourcing department. I was hired one month ago, and walked in to a HUGE filing nightmare. My...
3
by: jliusolar | last post by:
Hi I am trying to figure out why an application get this error when I am trying to open the application's asmx file from localhost. I don't have indexing service running(it set as manual and not...
10
by: Lyle Fairfield | last post by:
By default mdb etc files are not searched by Indexing Service. The default can be changed in Windows XP Pro using Group Policy. I can find no suggested way to make the change in the Windows XO...
3
by: Chung Leong | last post by:
Here's the rest of the tutorial I started earlier: Aside from text within a document, Indexing Service let you search on meta information stored in the files. For example, MusicArtist and...
1
by: vikjohn | last post by:
I have a new perl script sent to me which is a revision of the one I am currently running. The permissions are the same on each, the paths are correct but I am getting the infamous : The specified...
0
by: =?Utf-8?B?djJ3aW4=?= | last post by:
Does anyone know what might cause this repeated failure message for the Indexing Service?: _______________________________ The indexing service detected that its index of metadata associated...
2
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a server 2008 IIS 7.0 with indexing service installed. I have created the catalog and have a test page using these posts:...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.