home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / iis4_07.cab / query.idq < prev    next >
Text File  |  1997-11-01  |  3KB  |  75 lines

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