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.

101 lines
3.7 KiB

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