Leaked source code of windows server 2003
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.

136 lines
7.7 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: ci.rc
  8. //
  9. //--------------------------------------------------------------------------
  10. #include <windows.h>
  11. #include "ci.hxx"
  12. #include "ntverp.h"
  13. #define VER_FILETYPE VFT_APP
  14. #define VER_FILESUBTYPE VFT2_UNKNOWN
  15. #define VER_FILEDESCRIPTION_STR "Indexing Service search utility"
  16. #define VER_INTERNALNAME_STR "ci.exe"
  17. #define VER_ORIGINALFILENAME_STR "ci.exe"
  18. #include "common.ver"
  19. STRINGTABLE
  20. BEGIN
  21. IDS_QUERYTIMEDOUT, L"Query timed out"
  22. IDS_QUERYDONE, L"\n%d files matched the query '%ws'\n"
  23. IDS_QUERYFAILED, L"The query '%ws' failed, error %#x: %ws"
  24. IDS_CANTOPENFILE, L"Can't open file '%ws', error %#x: %ws\n"
  25. IDS_CANTGETFILESIZE, L"Can't get size of file '%ws', error %#x: %ws\n"
  26. IDS_CANTGETMEMORY, L"Can't get memory to read file %ws, error %#x: %ws\n"
  27. IDS_CANTREADFROMFILE, L"Can't read from file '%ws', error %#x: %ws\n"
  28. IDS_CANTCONVERTTOUNICODE, L"Can't convert %ws to unicode, error %#x: %ws\n"
  29. IDS_UNKNOWNERROR, L"Unknown error"
  30. IDS_CANTFINDCATALOG, L"Unable to find catalog for scope %ws, error %#x: %ws\n"
  31. IDS_CANTDISPLAYSTATUS L"Can't get status of catalog %ws, error %#x: %ws\n"
  32. IDS_CANTFORCEMERGE L"Can't force merge on catalog %ws, error %#x: %ws\n"
  33. IDS_STAT_TOTALDOCUMENTS L"Documents in the catalog"
  34. IDS_STAT_FRESHTEST L"Documents modified since the last master merge"
  35. IDS_STAT_FILTEREDDOCUMENTS L"Documents filtered since the service started"
  36. IDS_STAT_DOCUMENTS L"Documents to filter"
  37. IDS_STAT_SECQDOCUMENTS L"Documents deferred for filtering"
  38. IDS_STAT_UNIQUEKEYS L"Unique keys in the master index"
  39. IDS_STAT_WORDLIST L"Wordlists"
  40. IDS_STAT_PERSISTENTINDEX L"Saved indexes"
  41. IDS_STAT_INDEXSIZE L"Megabytes used for index files"
  42. IDS_STAT_MERGE_SHADOW L"Percent done with shadow merge"
  43. IDS_STAT_MERGE_ANNEALING L"Percent done with annealing merge"
  44. IDS_STAT_MERGE_INDEX_MIGRATION L"Percent done with index migration merge"
  45. IDS_STAT_MERGE_MASTER L"Percent done with master or deletion merge"
  46. IDS_STAT_MERGE_MASTER_PAUSED L"Percent done with paused merge"
  47. IDS_STAT_SCANS L"Scans scheduled"
  48. IDS_STAT_QUERIES L"Queries executed since the service started"
  49. IDS_STAT_READ_ONLY L"Catalog is read-only"
  50. IDS_STAT_RECOVERING L"Catalog is recovering"
  51. IDS_STAT_LOW_MEMORY L"Indexing paused due to low available memory"
  52. IDS_STAT_HIGH_IO L"Indexing paused due to high system I/O"
  53. IDS_STAT_BATTERY_POWER L"Indexing paused due to running on battery power"
  54. IDS_STAT_USER_ACTIVE L"Indexing paused due to busy interactive user"
  55. IDS_STAT_STARTING L"Indexing service is starting..."
  56. IDS_STAT_PROPCACHESIZE L"Megabytes used for the property cache"
  57. IDS_STAT_READING_USNS L"Reading the NTFS USN log(s)\n"
  58. IDS_STAT_UP_TO_DATE L"The index is up to date\n"
  59. IDS_STAT_NOT_UP_TO_DATE L"The index is not up to date\n"
  60. IDS_STAT_CATALOG L"Catalog"
  61. IDS_STAT_MACHINE L"Machine"
  62. IDS_ROWSET_STAT_ERROR L"The query is in an error state"
  63. IDS_ROWSET_STAT_REFRESH L"The query results are being refreshed"
  64. IDS_ROWSET_STAT_PARTIAL_SCOPE L"Not all scopes were available for the query"
  65. IDS_ROWSET_STAT_NOISE_WORDS L"The query contained noise words"
  66. IDS_ROWSET_STAT_CONTENT_OUT_OF_DATE L"The content index is out of date"
  67. IDS_ROWSET_STAT_REFRESH_INCOMPLETE L"An index update occurred, so query results may be stale"
  68. IDS_ROWSET_STAT_CONTENT_QUERY_INCOMPLETE L"The query was too complex given current constraints"
  69. IDS_ROWSET_STAT_TIME_LIMIT_EXCEEDED L"The query took too long to complete"
  70. IDS_ROWSET_STAT_SHARING_VIOLATION L"A sharing violation may have caused partial results"
  71. END
  72. IDR_USAGE RCDATA
  73. {
  74. L"usage: CI query [arguments]\n"
  75. L" query An Indexing Service query.\n"
  76. L" /c:catalog Name of the catalog, default is inferred from scope.\n"
  77. L" /d Display the DBCOMMANDTREE, default is off.\n"
  78. L" /e:locale HTTPAcceptLanguage, e.g. EN-US; default is system locale.\n"
  79. L" /f:[+|-] + or -, for force or don't force use of index, default is +.\n"
  80. L" /g Force a master merge.\n"
  81. L" /h Invoke search on each hit, path must be an output column.\n"
  82. L" /i:filename Input file containing queries, one per line.\n"
  83. L" /j Just return files in the scope path. The default\n"
  84. L" is to return files in the scope and all subdirectories.\n"
  85. L" /l:dialect 1 or 2, for old or new tripolish, default is 1. 3 for SQL.\n"
  86. L" /m:machine Name of the machine, default is local machine.\n"
  87. L" /n Don't execute query. Useful with /d.\n"
  88. L" /o:columns Output column list, default is path.\n"
  89. L" /p:scope The scope path of the query, absolute or relative.\n"
  90. L" /q Quiet. Don't display additional query information.\n"
  91. L" /r:# Count of repititions for the command, default is 1.\n"
  92. L" /s:sort Sort column list, default is none. e.g.: write[d].\n"
  93. L" Append [a] for ascending (default) or [d] for descending.\n"
  94. L" /smart Pick catalog based on current working directory.\n"
  95. L" This conflicts with the use of /c:, /p:, and /m:.\n"
  96. L" /t Display the catalog status. No query is required.\n"
  97. L" /u Check whether the index is up to date.\n"
  98. L" /x:maxhits Maximum number of hits to retrieve, default is no limit.\n"
  99. L" /y:firsthits Return the first N hits, not the best N hits.\n"
  100. L" /z Defines the C++ properties func and class.\n"
  101. L"\n"
  102. L" examples: ci mango /o:size,path\n"
  103. L" ci ""peach and not apple"" /s:rank[d] /p:.\n"
  104. L" ci ""@size > 1000000"" /o:size,path /s:size[a] /m:dogfood\n"
  105. L" ci ""@docauthor david"" /o:docauthor,path /s:docauthor,path\n"
  106. L" ci apricot /p:c:\\files\n"
  107. L" ci /p:\\\\index1\\src /s:path /o:write,path pear\n"
  108. L"\n"
  109. L" columns: path vpath directory filename write create size attrib\n"
  110. L" rank hitcount workid fileindex\n"
  111. L" docauthor doclastauthor dockeywords docsubject doctitle\n"
  112. L"\n"
  113. L" locales: af\n"
  114. L" ar ar-ae ar-bh ar-dz ar-eg ar-iq ar-jo ar-kw ar-lb\n"
  115. L" ar-ly ar-ma ar-om ar-qa ar-sa ar-sy ar-tn ar-ye\n"
  116. L" be bg ca cs da de de-at de-ch de-li de-lu eu\n"
  117. L" en en-au en-bz en-ca en-gb en-ie en-jm en-nz en-tt\n"
  118. L" en-us en-za\n"
  119. L" es es-ar es-bo es-c es-co es-cr es-do es-ec es-gt\n"
  120. L" es-hn es-mx es-ni es-pa es-pe es-pr es-py es-sv\n"
  121. L" es-uy es-ve et eu fa fi fo\n"
  122. L" fr fr-be fr-ca fr-ch fr-lu gd gd-ie he hi hr hu in\n"
  123. L" is it it-ch ja ji ko ko lt lv mk ms mt n neutr\n"
  124. L" nl-be no no p pt pt-br rm ro ro-mo ru ru-mo s sb\n"
  125. L" sk sq sr sr sv sv-fi sx sz th tn tr ts uk ur ve\n"
  126. L" vi xh zh-cn zh-hk zh-sg zh-tw zu\n"
  127. L" neutr neutral\n"
  128. L"\n\0"
  129. }