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.

126 lines
4.3 KiB

  1. #
  2. # This is the query file for the query.htm query form.
  3. #
  4. [Query]
  5. # The CiCatalog variable must point to where the catalog (index) files
  6. # are stored on your system. You will probably have to change this
  7. # value. If this value is not specified, a default value is read from
  8. # the registry from:
  9. # HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ContentIndex\IsapiDefaultCatalogDirectory
  10. # CiCatalog=d:\ <= COMMENTED OUT - default registry value used
  11. # These are the columns that are referenced in the .htx files
  12. # when formatting output for each hit.
  13. CiColumns=filename,size,rank,characterization,vpath,DocTitle,write,newsgroup,newsgroups,newsreferences,newssubject,newsfrom,newsmsgid
  14. # Do a recursive search (ie all directories under CiScope).
  15. # The opposite is SHALLOW
  16. CiFlags=DEEP
  17. # The CiRestriction is the query. Here, it's just pass in from the
  18. # form in the .htm file.
  19. # Use filename extension for scoping. Based on vpath, not filename to force post-processing of
  20. # regular expression. Filename is indexed, but #filename *.nws will match possibly millions of
  21. # files. Intersection is expensive.
  22. CiRestriction=%SearchString% %if area eq NEWS% & #vpath *.nws %else% %if area eq WEB% &! #vpath *.nws%endif%%endif%
  23. # Don't allow more than 300 total hits in the result set. It can be
  24. # expensive for the server to allow this value to get too large.
  25. CiMaxRecordsInResultSet=300
  26. # Display CiMaxRecordsPerPage hits on each page of output
  27. CiMaxRecordsPerPage=%CiMaxRecordsPerPage%
  28. # CiScope is the directory (virtual or real) under which results are
  29. # returned. If a file matches the query but is not in a directory beneath
  30. # CiScope, it is not returned in the result set.
  31. # A scope of / means all hits matching the query are returned.
  32. CiScope=/
  33. # This is the .htx file to use for formatting the results of the query.
  34. CiTemplate=/scripts/samples/search/%TemplateName%.htx
  35. # This is the list of property names to use in sorting the results.
  36. # Append [a] or [d] to the property name to specify ascending or
  37. # descending. Separate keys in multi-key sorts with commas.
  38. # For example, to sort on file write date ascending, then file size
  39. # descending, use CiSort=write[a],filesize[d]
  40. CiSort=%CiSort%
  41. # Setting CiForceUseCi to true means that the index is assumed to be
  42. # up to date, so queries that might otherwise force a walk of the
  43. # directory structure (find files older than X), will instead use
  44. # the index and run more quickly. Of course, that means that the results
  45. # might miss files that match the query.
  46. CiForceUseCi=true
  47. #
  48. # Setting CiLocale allows the web master to override the locale sent from
  49. # the browser. Supported locals include (from ISO 639:1988 language codes
  50. # and ISO 3166 country codes):
  51. #
  52. # BG Bulgarian
  53. # ZH Chinese
  54. # ZH-CN Chinese/china
  55. # ZH-TW Chinese/taiwan
  56. # HR Croatian
  57. # CS Czech
  58. # DA Danish
  59. # NL Dutch
  60. # EN English
  61. # EN-GB English-United kingdom
  62. # EN-US English-United States
  63. # FI Finnish
  64. # FR French
  65. # FR-CA French-Canadian
  66. # FR-FR French-France
  67. # DE German
  68. # EL Greek
  69. # IS Icelandic
  70. # IT Italian
  71. # JA Japanese
  72. # KO Korean
  73. # NO Norwegian
  74. # PL Polish
  75. # PT Portuguese
  76. # PT-BR Portuguese-Brazil
  77. # RO Romanian
  78. # RU Russian
  79. # SK Slovak
  80. # SL Slovenian
  81. # ES Spanish
  82. # ES-ES Spanish-Spain
  83. # SV Swedish
  84. # TR Turkish
  85. #
  86. # The locale effects the formatting of dates, times, and numbers. Currency
  87. # is formatted according to the locale of the web server. Locale is also
  88. # used to select the word breaker, and the stop word list.
  89. #
  90. # The web master may want to allow the browser to send the locale when
  91. # attempting to query for text in variety of languages. For example,
  92. # given a single HTML page, one query couold be for German text (CiLocale=De)
  93. # and another could be for Spanish text (CiLocale=Es). If CiLocale is
  94. # not found in the IDQ file the locale send by the web browser is used. If
  95. # no locale is send from the browser, the locale of the web server is used.
  96. #
  97. # The web browser sends its locale via the HTTP_ACCEPT_LANGUAGE parameter
  98. #
  99. #CiLocale=En-US <== specified by the web master
  100. #CiLocale=%CiLocale% <== send from the HTML page
  101. #CiLocale= <== value used from the web browser