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.

121 lines
4.7 KiB

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