Using Index Server’s
Did you know that you can use the Index Server, the
content indexing engine included with IIS4, as you would any other database? You
can make ADO calls to it and search your site, providing you with an excellent
search engine for your webs.
It’s pretty simple, really. You just declare the
objects, make the calls to then engine and then reference the properties,
columns and values that you ask for. Pretty nifty, eh?
"OK, so how do I do this?" you’re asking…
It’s as easy as this:
- Set up the form page that will prompt the user for their input, to be
passed to the Index server engine.
- Set up the ASP page that will query the engine and show the results
- Test… (of course…)
Let’s take a look at the code that’s used by swynk.com in the left-column