IIS Index Server - Indexing removable media, possible?

This is Interesting: Free IT Magazines  
Home > Archive > IIS Index Server > March 2005 > Indexing removable media, possible?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Indexing removable media, possible?
frank p

2005-03-23, 6:09 pm

Hi All,

I'm researching different indexing and search technologies, and have a
question regarding Windows Indexing Service.

Is there a way to set it up to automatically index removable media,
such as usb drives and CD's, when they are attached to the computer?
Ideally, I'd like to be able to search the index even when the media
has been removed, and differentiate between different media in the same
slot (such as when one usb pen-drive is plugged in, then removed, then
a different one plugged in to where the former was connected).

The "What's New in Indexing Service 3.0" page:

http://msdn.microsoft.com/library/d...xintro_24og.asp
states that indexing CD's is possible, but does not give any details.
While this page:
http://www.indexserverfaq.com/ISMMC.htm
states that you have to copy the files off of the removable media and
onto the hard drive to index them... which doesn't sound like truly
indexing removable media to me.

If you need clarification on anything, just let me know.

Thanks in advance for any help / insight / pointers,
-frank p

Hilary Cotter

2005-03-23, 6:09 pm

You would have to run some custom agent to poll for new removable drives,
add them, and then index them.

in http://www.indexserverfaq.com/ISMMC.htm I do not say you have to copy the
files to the local hard drive. To quote: " First off your drive must be
formatted as a FAT or FAT32 drive. Create your catalog on this drive and
place your documents on this drive. The documents can be in subdirectories.
After Indexing Services has completed indexing the drive, do a merge, stop
Indexing Services (net stop cisvc at the command prompt) and burn the
contents of this drive (or at least the contents of the catalog.wci folder
and all documents indexed maintaining the directory structure) to your CD
ROM. When you place the CD in a drive it will be mounted as Removable_Q ,
where Q is the drive letter normally associated with your CD ROM. Figure 10
illustrates was a catalog mounted from a CD will look like. "

You copy your catalog to the removeable media, not the files. You may want
to copy the files to the removable media as well, but you definately don't
have to copy the files off the removable media to the local hard drive.


--
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

"frank p" <thePoz@gmail.com> wrote in message
news:1111588518.484471.308050@g14g2000cwa.googlegroups.com...
> Hi All,
>
> I'm researching different indexing and search technologies, and have a
> question regarding Windows Indexing Service.
>
> Is there a way to set it up to automatically index removable media,
> such as usb drives and CD's, when they are attached to the computer?
> Ideally, I'd like to be able to search the index even when the media
> has been removed, and differentiate between different media in the same
> slot (such as when one usb pen-drive is plugged in, then removed, then
> a different one plugged in to where the former was connected).
>
> The "What's New in Indexing Service 3.0" page:
>
>

http://msdn.microsoft.com/library/d...xintro_24og.asp
> states that indexing CD's is possible, but does not give any details.
> While this page:
> http://www.indexserverfaq.com/ISMMC.htm
> states that you have to copy the files off of the removable media and
> onto the hard drive to index them... which doesn't sound like truly
> indexing removable media to me.
>
> If you need clarification on anything, just let me know.
>
> Thanks in advance for any help / insight / pointers,
> -frank p
>



frank p

2005-03-23, 6:09 pm

Thanks for the quick reply!

I'm still not certain I follow what you are saying. From the way that
the web page is worded, it still sounds to me like the files that you
want to index must be on non-removable media, and that the catalog can
_then_ be _copied_ to the removable media. Is this correct?

Maybe a little more information will help describe what I am doing and
the symptoms I see which lead me to my questioning.

First, I insert a data CD into the computer. Next, I open up the
Indexing Service MMC and create a new catalog called RemovableMedia. I
then attempt to add a scope / directory to the new catalog, give it a
path of "D:\", which is my CD drive, and click the "OK" button. At
this point, I am presented with the error message "Specified directory
is on a removable medium."
Following the same procedure, but with a USB drive instead of a CD,
produces the same results.

Am I making a bad assumption about how to go about indexing a removable
drive?

-frank p


Hilary Cotter wrote:
> You would have to run some custom agent to poll for new removable

drives,
> add them, and then index them.
>
> in http://www.indexserverfaq.com/ISMMC.htm I do not say you have to

copy the
> files to the local hard drive. To quote: " First off your drive must

be
> formatted as a FAT or FAT32 drive. Create your catalog on this drive

and
> place your documents on this drive. The documents can be in

subdirectories.
> After Indexing Services has completed indexing the drive, do a merge,

stop
> Indexing Services (net stop cisvc at the command prompt) and burn the
> contents of this drive (or at least the contents of the catalog.wci

folder
> and all documents indexed maintaining the directory structure) to

your CD
> ROM. When you place the CD in a drive it will be mounted as

Removable_Q ,
> where Q is the drive letter normally associated with your CD ROM.

Figure 10
> illustrates was a catalog mounted from a CD will look like. "
>
> You copy your catalog to the removeable media, not the files. You may

want
> to copy the files to the removable media as well, but you definately

don't
> have to copy the files off the removable media to the local hard

drive.
>
>
> --
> 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


Hilary Cotter

2005-03-23, 6:09 pm

the files can be anywhere. The catalog has to be created on a FAT/FAT32
drive, and then burnt on the cd.

In your code you will reference this catalog on the CD. In your code you
will have to point to where the file are, i.e., cd, local drives etc. That
catalog will return paths and vpaths that reference the original location of
these files on the server you burnt the catalog on. You will have to ensure
that the files are in the places reference by the catalog.

Your methodology won't work. You can create a catalog with any name you
want. But what is critical is that Indexing Services be able to read the
location of your files. It can't read them on a CD rom or USB drive.

You will have to copy the files off your cd or usb drive and copy them
locally for them to be indexed.

--
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

"frank p" <thePoz@gmail.com> wrote in message
news:1111592676.764457.298090@o13g2000cwo.googlegroups.com...
> Thanks for the quick reply!
>
> I'm still not certain I follow what you are saying. From the way that
> the web page is worded, it still sounds to me like the files that you
> want to index must be on non-removable media, and that the catalog can
> _then_ be _copied_ to the removable media. Is this correct?
>
> Maybe a little more information will help describe what I am doing and
> the symptoms I see which lead me to my questioning.
>
> First, I insert a data CD into the computer. Next, I open up the
> Indexing Service MMC and create a new catalog called RemovableMedia. I
> then attempt to add a scope / directory to the new catalog, give it a
> path of "D:\", which is my CD drive, and click the "OK" button. At
> this point, I am presented with the error message "Specified directory
> is on a removable medium."
> Following the same procedure, but with a USB drive instead of a CD,
> produces the same results.
>
> Am I making a bad assumption about how to go about indexing a removable
> drive?
>
> -frank p
>
>
> Hilary Cotter wrote:
> drives,
> copy the
> be
> and
> subdirectories.
> stop
> folder
> your CD
> Removable_Q ,
> Figure 10
> want
> don't
> drive.
>



frank p

2005-03-23, 6:09 pm

> Your methodology won't work. You can create a catalog with any name
you
> want. But what is critical is that Indexing Services be able to read

the
> location of your files. It can't read them on a CD rom or USB drive.
>
> You will have to copy the files off your cd or usb drive and copy

them
> locally for them to be indexed.


I now realize that I didn't give enough information about what I was
doing. I am not interested in setting this up for a website, but for
querying the index on a personal workstation. I just couldn't find any
general Index Server group or mailing list other than this one.

>From what you've just said, it sounds pretty definitive that Microsoft

Indexing Service can not be used to search files that are on any type
of removable media.

Thank you for the clarifications!
-frank p

Hilary Cotter

2005-03-23, 6:09 pm

Indexing Services can not only index your local web sites, but also your
local (not removable) or network drives.

And you are correct - you will be unable to index removable media.
--
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

"frank p" <thePoz@gmail.com> wrote in message
news:1111598183.667048.124680@l41g2000cwc.googlegroups.com...
> you
> the
> them
>
> I now realize that I didn't give enough information about what I was
> doing. I am not interested in setting this up for a website, but for
> querying the index on a personal workstation. I just couldn't find any
> general Index Server group or mailing list other than this one.
>
> Indexing Service can not be used to search files that are on any type
> of removable media.
>
> Thank you for the clarifications!
> -frank p
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com