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.

120 lines
6.7 KiB

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