home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / is20.cab / query.idq < prev    next >
Text File  |  1997-10-14  |  4KB  |  96 lines

  1. #
  2. # This is the query file for the query.htm query form.
  3. #
  4.  
  5. [Names]
  6.  
  7. #
  8. # To use custom HTML properties in your queries, remove the remark
  9. # character from the following line:
  10.  
  11. # htmlcolor( DBTYPE_WSTR|DBTYPE_BYREF) = d1b5d3f0-c0b3-11cf-9a92-00a0c908dbf1 mycolor
  12.  
  13. # Then replace "htmlcolor" and "mycolor" with your custom property name. Your
  14. # HTML pages must contain <meta> tags as in the example below:
  15. #
  16. #    <META NAME="MYCOLOR" CONTENT="red green blue">
  17. #
  18. # You can then post queries such as "@htmlcolor green" in your query forms. In order
  19. # to display your custom property in query results, you must configure the Index Server
  20. # property cache to cache your custom property using the administration tool.
  21. #
  22. # For more information, please refer to the product documentation.
  23. #
  24.  
  25.  
  26. [Query]
  27.  
  28. # The CiCatalog variable must point to where the catalog (index) files
  29. # are stored on your system.  You will probably have to change this
  30. # value.  If this value is not specified, a default value is read from
  31. # the registry from:
  32. # HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ContentIndex\IsapiDefaultCatalogDirectory
  33.  
  34. # CiCatalog=d:\     <= COMMENTED OUT - default registry value used
  35.  
  36.  
  37. # These are the columns that are referenced in the .htx files
  38. # when formatting output for each hit.
  39.  
  40. CiColumns=filename,size,rank,characterization,vpath,DocTitle,write
  41.  
  42. # Do a recursive search (ie all directories under CiScope).
  43. # The opposite is SHALLOW
  44.  
  45. CiFlags=DEEP
  46.  
  47. # The CiRestriction is the query.  Here, it's just pass in from the
  48. # form in the .htm file.
  49.  
  50. CiRestriction=%if FreeText eq on% $contents "%CiRestriction%" %else% %CiRestriction% %endif%
  51.  
  52. # Don't allow more than 300 total hits in the result set.  It can be
  53. # expensive for the server to allow this value to get too large.
  54.  
  55. CiMaxRecordsInResultSet=300
  56.  
  57. # Display CiMaxRecordsPerPage hits on each page of output.
  58.  
  59. CiMaxRecordsPerPage=%CiMaxRecordsPerPage%
  60.  
  61. # CiScope is the directory (virtual or real) under which results are
  62. # returned.  If a file matches the query but is not in a directory beneath
  63. # CiScope, it is not returned in the result set.
  64. # A scope of / means all hits matching the query are returned.
  65.  
  66. CiScope=%CiScope%
  67.  
  68. # This is the .htx file to use for formatting the results of the query.
  69.  
  70. CiTemplate=/iissamples/issamples/%TemplateName%.htx
  71.  
  72. # This is the list of property names to use in sorting the results.
  73. # Append [a] or [d] to the property name to specify ascending or
  74. # descending.  Separate keys in multi-key sorts with commas.
  75. # For example, to sort on file write date ascending, then file size
  76. # descending, use CiSort=write[a],filesize[d]
  77.  
  78. CiSort=%CiSort%
  79.  
  80. # Setting CiForceUseCi to true means that the index is assumed to be
  81. # up to date, so queries that might otherwise force a walk of the
  82. # directory structure (find files older than X), will instead use
  83. # the index and run more quickly.  Of course, that means that the results
  84. # might miss files that match the query.
  85.  
  86. CiForceUseCi=true
  87.  
  88. # The web browser sends its locale via the HTTP_ACCEPT_LANGUAGE parameter
  89. # Setting CiLocale allows the web master to override the locale sent from
  90. # the browser.  Refer to the Index Server documentation for the list of
  91. # ISO 639:1988 language codes and ISO 3166 country codes.
  92. #
  93. #CiLocale=En-US         <== specified by the web master
  94. #CiLocale=%CiLocale%    <== send from the HTML page
  95. #CiLocale=              <== value used from the web browser
  96.