Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
3.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  4. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  5. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  6. // PARTICULAR PURPOSE.
  7. //
  8. // Copyright (c) 1998-1999 Microsoft Corporation. All Rights Reserved.
  9. //
  10. // Sample Name: IISSearch - Sample Forms for Querying Indexing
  11. // Service using Internet Information Services
  12. //
  13. //--------------------------------------------------------------------------
  14. Description
  15. ===========
  16. The IISSearch sample is a set of HTML and ASP forms that demonstrates how
  17. to use Internet Information Services (IIS) to query Indexing Service.
  18. The forms use Indexing Service Query Language queries and the Query Helper
  19. API, use SQL queries and the ADO and Query Helper APIs, and use IDQ+HTX
  20. and the ISAPI Extension API.
  21. Path
  22. ====
  23. Source: mssdk\samples\winbase\indexing\IISSearch\
  24. User's Guide
  25. ============
  26. * To install the sample files
  27. 1. Open a command window and change the directory to the source path
  28. of the sample.
  29. 2. Determine where your inetpub directory resides.
  30. * If it resides on %SystemDrive%, you can use the install.bat
  31. file without modifying it.
  32. * If it resides on another drive, modify the dst environment
  33. variable in the install.bat file to define the location of
  34. your inetpub directory.
  35. 3. At the command-line prompt, type "install".
  36. The sample files are copied to the directory specified by the
  37. dst environment variable, which is, by default,
  38. %SystemDrive%\inetpub\iissamples\issamples.
  39. * To use the sample forms
  40. 1. Start Internet Explorer.
  41. 2. Type in the URL "http://localhost/iissamples/issamples/default.htm".
  42. 3. In the left frame, select the sample query to execute.
  43. Programming Notes
  44. =================
  45. The sample files include the following.
  46. advquery.asp
  47. ------------
  48. An advanced Active Server Page (ASP) example written in VBScript and
  49. JScript that illustrates server-side scripting to execute Indexing
  50. Service Query Language queries using the Query Helper API.
  51. advsqlq.asp
  52. ------------
  53. An advanced ASP example written in VBScript and JScript that
  54. illustrates server-side scripting to execute SQL queries using the ADO
  55. and Query Helper APIs.
  56. default.htm
  57. -----------
  58. An HTML page that provides easy access to each sample.
  59. fastq.htm, fastq.idq, fastq.htx
  60. -------------------------------
  61. An optimized IDQ+HTX example that uses the ISAPI Extensions API.
  62. query.asp
  63. ---------
  64. A simple ASP example written in VBScript and JScript that illustrates
  65. server-side scripting to execute Indexing Service Query Language queries
  66. using the Query Helper API.
  67. query.htm, query.idq, query.htx
  68. -------------------------------
  69. A simple IDQ+HTX example that uses the ISAPI Extensions API.
  70. sqlqhit.asp, sqlqhit.htm
  71. ------------------------
  72. A simple ASP example written in VBScript that illustrates executing
  73. queries using the OLE DB Provider for Indexing Service API.