Searching with IIS' indexing service?

B

Byron

Hey,

I'm fussing around with a first attempt at using IIS6's indexing service
for a web site search page. The trouble is, my site, while not using a
database, is largely dynamic, with much of the content filled in with
variables and includes, and index server only seems to index the actual
code of each file, and not the contents as seen by web viewers. So if I
have my default.asp file dynamically cobbled together by several other
files, default.asp doesn't register in the index with its served content
and so doesn't appear in the search results.

Just wondering if indexing service can be used to search pages within a
site as they appear to the browsing public (like search engines do), or
if it just wasn't made to do that and I should try something else?

Thanks.
 
S

Slim

One way around this is to put all content for a page in the same folder, the
page itself must be the default page "default.asp"

then remove the file name from the URL retuned by the index server and so
that you only reference the folder, then no matter what page is found in the
folder you will be directed to the default page in the folder

another tip is to put all pages that are dynamic under one folder and all
that are not under another folder

lets say all dynamic pages are in sub folders of folder /x/ then you can
search for "/x/" and then remove the file name from the url, if no "/x/"
then don't remove the file name
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top