Use Indexing Service (Indexing Services) and ASP to create a Web-wide search program

Source: Internet
Author: User

Configure Index Server
Before you perform a search on a Web server, you must first create at least one index and follow these steps to complete the work.
⒈ to start the index on the Windows server servers.
By default, the Select icon is in Computer Management in the Administrative Tools group. The right side of the window provides information about the current on the server
The index information that exists. There are two indexes by default: System and Web.
⒉ to create a new index, right-click the Indexing Service or the right panel to select a new catalog.
Displays the Add Catalog dialog box, specifies the name of the index, and selects the location using the browse button. Indexing Service does not start indexing immediately, a message box pops up, and a single
Click OK to continue. For optimal performance, Indexing Service can be placed on a hard disk that is isolated from the Web server.
⒊ the directory for the specified index, right-click the newly created catalog name, and select the property from the pop-up menu, the dialog box shown in Figure 2 appears.
The first tab general displays what you just entered, and select the Web site you want to index in the WWW server drop-down list in the Second tab trace.
⒋ has a catalog created and can now pick the directories you want to include in the index.
This powerful feature allows you to create several indexes that search for content in different ways. For example, you might want to quickly browse through the chapters that are drawn from the full text, which
Feature allows you to perform this task within the Index server. To add a table of contents, right-click the Panel on the right and select New directory. In the presence of the dialogue
box, select the directory by the Browse button and specify an alias. If you have to log on to the server to get what you want, you can provide the username and secret that will be used
Code in order to get the required content. If you want to check for protected content, it is useful to maintain the security of the content, so that only authorized
Users (perhaps those who pay for it) can get the full content.
You can also use this tool to exclude subdirectories in your Web site that you do not want to index. For example, retrieving the scripts/cgi directory will not be helpful to the user. For this purpose, as long as
Double-click the directory, which will be included in the index, as shown in Figure 3.
⒌ after you have included/excluded all catalogs for your site, right-click the right panel, select Boot from the pop-up menu, and restart the Index Server service.
The server starts browsing the indexes that have been created and starts retrieving the content.
SOURCE program:
1, Search.asp
<HTML>
<HEAD>
<title>the Indexing service</title>
<style type= "Text/css" >
body {font-family:tahoma,arial,sans-serif; font-size:10pt}
. heading {font-family:tahoma,arial,sans-serif; font-size:14pt; Font-weight:bold}
. cite {font-family:tahoma,arial,sans-serif; font-size:8pt}

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.