geohydra 0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (687) hide show
  1. data/.gitignore +23 -0
  2. data/.gitmodules +3 -0
  3. data/.travis.yml +7 -0
  4. data/Gemfile +15 -0
  5. data/Gemfile.lock +281 -0
  6. data/LICENSE +14 -0
  7. data/README.md +187 -0
  8. data/Rakefile +34 -0
  9. data/VERSION +1 -0
  10. data/bin/accession.rb +109 -0
  11. data/bin/assemble.rb +307 -0
  12. data/bin/assemble_data.rb +66 -0
  13. data/bin/assemble_placenames.rb +110 -0
  14. data/bin/build_stage_options.rb +27 -0
  15. data/bin/derive_wgs84.rb +85 -0
  16. data/bin/extract_thumbnail.rb +49 -0
  17. data/bin/geohydra +11 -0
  18. data/bin/ingest_arcgis.rb +77 -0
  19. data/bin/ingest_tufts.rb +71 -0
  20. data/bin/loader.rb +296 -0
  21. data/bin/loader_postgis.rb +259 -0
  22. data/bin/seed.rb +78 -0
  23. data/bin/solr_indexer.rb +41 -0
  24. data/bin/sync_geoserver_metadata.rb +168 -0
  25. data/bin/validate_data.rb +59 -0
  26. data/config/.gitignore +1 -0
  27. data/config/boot.rb +17 -0
  28. data/config/database.yml +29 -0
  29. data/config/environments/.gitignore +8 -0
  30. data/config/environments/.gitkeep +0 -0
  31. data/config/environments/example.rb +85 -0
  32. data/config/environments/example_rgeoserver.yml +16 -0
  33. data/config/migrate.rb +11 -0
  34. data/geohydra.gemspec +49 -0
  35. data/lib/geohydra.rb +11 -0
  36. data/lib/geohydra/accession.rb +291 -0
  37. data/lib/geohydra/arcgis_to_iso19139_fc.xsl +364 -0
  38. data/lib/geohydra/gazetteer.csv +36 -0
  39. data/lib/geohydra/gazetteer.rb +73 -0
  40. data/lib/geohydra/geonetwork.rb +156 -0
  41. data/lib/geohydra/mods2ogp.xsl +198 -0
  42. data/lib/geohydra/ogpcleanup.xsl +28 -0
  43. data/lib/geohydra/solr.rb +49 -0
  44. data/lib/geohydra/transform.rb +175 -0
  45. data/lib/geohydra/utils.rb +19 -0
  46. data/lib/geohydra/version.rb +3 -0
  47. data/scripts/correct_collections.rb +93 -0
  48. data/scripts/dbfdump.rb +13 -0
  49. data/scripts/extract.xsl +35 -0
  50. data/scripts/geoserver_createdb.sh +6 -0
  51. data/scripts/geoserver_createdb.sql +29 -0
  52. data/scripts/geowebcache_tops.rb +22 -0
  53. data/scripts/ingest_mods.rb +23 -0
  54. data/scripts/iso2html/displayElement.xsl +52 -0
  55. data/scripts/iso2html/elements-ISO.xml +665 -0
  56. data/scripts/iso2html/headers-ISO.xml +16 -0
  57. data/scripts/iso2html/printFormatted.xsl +227 -0
  58. data/scripts/iso2html/printtextlines.xsl +171 -0
  59. data/scripts/iso2html/xml-to-html-ISO.xsl +273 -0
  60. data/scripts/iso2html/xml-to-text-ISO.xsl +148 -0
  61. data/scripts/load_stage_data.rb +13 -0
  62. data/scripts/nextgis_iso19115.xsl +553 -0
  63. data/scripts/replicate_db.sh +7 -0
  64. data/scripts/report_stage.rb +5 -0
  65. data/solr/dev.html +19 -0
  66. data/solr/dlss-dev-drh-geo/conf/schema.xml +54 -0
  67. data/solr/dlss-dev-drh-geo/conf/solrconfig.xml +156 -0
  68. data/solr/dlss-dev-drh-geo/deploy.sh +15 -0
  69. data/solr/dlss-dev-drh-geo/example_doc.xml +25 -0
  70. data/solr/dlss-dev-drh-geo/test.sh +14 -0
  71. data/solr/ogp-dev/conf/admin-extra.html +24 -0
  72. data/solr/ogp-dev/conf/admin-extra.menu-bottom.html +25 -0
  73. data/solr/ogp-dev/conf/admin-extra.menu-top.html +25 -0
  74. data/solr/ogp-dev/conf/currency.xml +67 -0
  75. data/solr/ogp-dev/conf/elevate.xml +38 -0
  76. data/solr/ogp-dev/conf/lang/contractions_ca.txt +8 -0
  77. data/solr/ogp-dev/conf/lang/contractions_fr.txt +15 -0
  78. data/solr/ogp-dev/conf/lang/contractions_ga.txt +5 -0
  79. data/solr/ogp-dev/conf/lang/contractions_it.txt +23 -0
  80. data/solr/ogp-dev/conf/lang/hyphenations_ga.txt +5 -0
  81. data/solr/ogp-dev/conf/lang/stemdict_nl.txt +6 -0
  82. data/solr/ogp-dev/conf/lang/stoptags_ja.txt +420 -0
  83. data/solr/ogp-dev/conf/lang/stopwords_ar.txt +125 -0
  84. data/solr/ogp-dev/conf/lang/stopwords_bg.txt +193 -0
  85. data/solr/ogp-dev/conf/lang/stopwords_ca.txt +220 -0
  86. data/solr/ogp-dev/conf/lang/stopwords_cz.txt +172 -0
  87. data/solr/ogp-dev/conf/lang/stopwords_da.txt +108 -0
  88. data/solr/ogp-dev/conf/lang/stopwords_de.txt +292 -0
  89. data/solr/ogp-dev/conf/lang/stopwords_el.txt +78 -0
  90. data/solr/ogp-dev/conf/lang/stopwords_en.txt +54 -0
  91. data/solr/ogp-dev/conf/lang/stopwords_es.txt +354 -0
  92. data/solr/ogp-dev/conf/lang/stopwords_eu.txt +99 -0
  93. data/solr/ogp-dev/conf/lang/stopwords_fa.txt +313 -0
  94. data/solr/ogp-dev/conf/lang/stopwords_fi.txt +95 -0
  95. data/solr/ogp-dev/conf/lang/stopwords_fr.txt +184 -0
  96. data/solr/ogp-dev/conf/lang/stopwords_ga.txt +110 -0
  97. data/solr/ogp-dev/conf/lang/stopwords_gl.txt +161 -0
  98. data/solr/ogp-dev/conf/lang/stopwords_hi.txt +235 -0
  99. data/solr/ogp-dev/conf/lang/stopwords_hu.txt +209 -0
  100. data/solr/ogp-dev/conf/lang/stopwords_hy.txt +46 -0
  101. data/solr/ogp-dev/conf/lang/stopwords_id.txt +359 -0
  102. data/solr/ogp-dev/conf/lang/stopwords_it.txt +301 -0
  103. data/solr/ogp-dev/conf/lang/stopwords_ja.txt +127 -0
  104. data/solr/ogp-dev/conf/lang/stopwords_lv.txt +172 -0
  105. data/solr/ogp-dev/conf/lang/stopwords_nl.txt +117 -0
  106. data/solr/ogp-dev/conf/lang/stopwords_no.txt +192 -0
  107. data/solr/ogp-dev/conf/lang/stopwords_pt.txt +251 -0
  108. data/solr/ogp-dev/conf/lang/stopwords_ro.txt +233 -0
  109. data/solr/ogp-dev/conf/lang/stopwords_ru.txt +241 -0
  110. data/solr/ogp-dev/conf/lang/stopwords_sv.txt +131 -0
  111. data/solr/ogp-dev/conf/lang/stopwords_th.txt +119 -0
  112. data/solr/ogp-dev/conf/lang/stopwords_tr.txt +212 -0
  113. data/solr/ogp-dev/conf/lang/userdict_ja.txt +29 -0
  114. data/solr/ogp-dev/conf/mapping-FoldToASCII.txt +3813 -0
  115. data/solr/ogp-dev/conf/mapping-ISOLatin1Accent.txt +246 -0
  116. data/solr/ogp-dev/conf/protwords.txt +21 -0
  117. data/solr/ogp-dev/conf/schema.xml +1362 -0
  118. data/solr/ogp-dev/conf/scripts.conf +24 -0
  119. data/solr/ogp-dev/conf/solrconfig.xml +1816 -0
  120. data/solr/ogp-dev/conf/spellings.txt +2 -0
  121. data/solr/ogp-dev/conf/stopwords.txt +14 -0
  122. data/solr/ogp-dev/conf/synonyms.txt +29 -0
  123. data/solr/ogp-dev/conf/synonymsIso.txt +158 -0
  124. data/solr/ogp-dev/conf/synonymsLcsh.txt +120 -0
  125. data/solr/ogp-dev/conf/synonymsState.txt +105 -0
  126. data/solr/ogp-dev/conf/update-script.js +53 -0
  127. data/solr/ogp-dev/conf/velocity/VM_global_library.vm +170 -0
  128. data/solr/ogp-dev/conf/velocity/browse.vm +50 -0
  129. data/solr/ogp-dev/conf/velocity/cluster.vm +9 -0
  130. data/solr/ogp-dev/conf/velocity/clusterResults.vm +12 -0
  131. data/solr/ogp-dev/conf/velocity/debug.vm +17 -0
  132. data/solr/ogp-dev/conf/velocity/did_you_mean.vm +4 -0
  133. data/solr/ogp-dev/conf/velocity/facet_fields.vm +15 -0
  134. data/solr/ogp-dev/conf/velocity/facet_pivot.vm +3 -0
  135. data/solr/ogp-dev/conf/velocity/facet_queries.vm +3 -0
  136. data/solr/ogp-dev/conf/velocity/facet_ranges.vm +15 -0
  137. data/solr/ogp-dev/conf/velocity/facets.vm +5 -0
  138. data/solr/ogp-dev/conf/velocity/footer.vm +17 -0
  139. data/solr/ogp-dev/conf/velocity/head.vm +32 -0
  140. data/solr/ogp-dev/conf/velocity/header.vm +3 -0
  141. data/solr/ogp-dev/conf/velocity/hit.vm +11 -0
  142. data/solr/ogp-dev/conf/velocity/hitGrouped.vm +24 -0
  143. data/solr/ogp-dev/conf/velocity/join-doc.vm +4 -0
  144. data/solr/ogp-dev/conf/velocity/jquery.autocomplete.css +48 -0
  145. data/solr/ogp-dev/conf/velocity/jquery.autocomplete.js +763 -0
  146. data/solr/ogp-dev/conf/velocity/layout.vm +20 -0
  147. data/solr/ogp-dev/conf/velocity/main.css +208 -0
  148. data/solr/ogp-dev/conf/velocity/product-doc.vm +27 -0
  149. data/solr/ogp-dev/conf/velocity/query.vm +42 -0
  150. data/solr/ogp-dev/conf/velocity/queryGroup.vm +19 -0
  151. data/solr/ogp-dev/conf/velocity/querySpatial.vm +40 -0
  152. data/solr/ogp-dev/conf/velocity/richtext-doc.vm +114 -0
  153. data/solr/ogp-dev/conf/velocity/suggest.vm +3 -0
  154. data/solr/ogp-dev/conf/velocity/tabs.vm +6 -0
  155. data/solr/ogp-dev/conf/xslt/example.xsl +132 -0
  156. data/solr/ogp-dev/conf/xslt/example_atom.xsl +67 -0
  157. data/solr/ogp-dev/conf/xslt/example_rss.xsl +66 -0
  158. data/solr/ogp-dev/conf/xslt/luke.xsl +337 -0
  159. data/solr/ogp-dev/conf/xslt/updateXml.xsl +70 -0
  160. data/solr/ogp-dev/deploy.sh +15 -0
  161. data/solr/ogp-dev/purge.sh +9 -0
  162. data/solr/ogp-dev/upload.sh +17 -0
  163. data/solr/ogp-test/conf/admin-extra.html +24 -0
  164. data/solr/ogp-test/conf/admin-extra.menu-bottom.html +25 -0
  165. data/solr/ogp-test/conf/admin-extra.menu-top.html +25 -0
  166. data/solr/ogp-test/conf/currency.xml +67 -0
  167. data/solr/ogp-test/conf/elevate.xml +38 -0
  168. data/solr/ogp-test/conf/lang/contractions_ca.txt +8 -0
  169. data/solr/ogp-test/conf/lang/contractions_fr.txt +15 -0
  170. data/solr/ogp-test/conf/lang/contractions_ga.txt +5 -0
  171. data/solr/ogp-test/conf/lang/contractions_it.txt +23 -0
  172. data/solr/ogp-test/conf/lang/hyphenations_ga.txt +5 -0
  173. data/solr/ogp-test/conf/lang/stemdict_nl.txt +6 -0
  174. data/solr/ogp-test/conf/lang/stoptags_ja.txt +420 -0
  175. data/solr/ogp-test/conf/lang/stopwords_ar.txt +125 -0
  176. data/solr/ogp-test/conf/lang/stopwords_bg.txt +193 -0
  177. data/solr/ogp-test/conf/lang/stopwords_ca.txt +220 -0
  178. data/solr/ogp-test/conf/lang/stopwords_cz.txt +172 -0
  179. data/solr/ogp-test/conf/lang/stopwords_da.txt +108 -0
  180. data/solr/ogp-test/conf/lang/stopwords_de.txt +292 -0
  181. data/solr/ogp-test/conf/lang/stopwords_el.txt +78 -0
  182. data/solr/ogp-test/conf/lang/stopwords_en.txt +54 -0
  183. data/solr/ogp-test/conf/lang/stopwords_es.txt +354 -0
  184. data/solr/ogp-test/conf/lang/stopwords_eu.txt +99 -0
  185. data/solr/ogp-test/conf/lang/stopwords_fa.txt +313 -0
  186. data/solr/ogp-test/conf/lang/stopwords_fi.txt +95 -0
  187. data/solr/ogp-test/conf/lang/stopwords_fr.txt +184 -0
  188. data/solr/ogp-test/conf/lang/stopwords_ga.txt +110 -0
  189. data/solr/ogp-test/conf/lang/stopwords_gl.txt +161 -0
  190. data/solr/ogp-test/conf/lang/stopwords_hi.txt +235 -0
  191. data/solr/ogp-test/conf/lang/stopwords_hu.txt +209 -0
  192. data/solr/ogp-test/conf/lang/stopwords_hy.txt +46 -0
  193. data/solr/ogp-test/conf/lang/stopwords_id.txt +359 -0
  194. data/solr/ogp-test/conf/lang/stopwords_it.txt +301 -0
  195. data/solr/ogp-test/conf/lang/stopwords_ja.txt +127 -0
  196. data/solr/ogp-test/conf/lang/stopwords_lv.txt +172 -0
  197. data/solr/ogp-test/conf/lang/stopwords_nl.txt +117 -0
  198. data/solr/ogp-test/conf/lang/stopwords_no.txt +192 -0
  199. data/solr/ogp-test/conf/lang/stopwords_pt.txt +251 -0
  200. data/solr/ogp-test/conf/lang/stopwords_ro.txt +233 -0
  201. data/solr/ogp-test/conf/lang/stopwords_ru.txt +241 -0
  202. data/solr/ogp-test/conf/lang/stopwords_sv.txt +131 -0
  203. data/solr/ogp-test/conf/lang/stopwords_th.txt +119 -0
  204. data/solr/ogp-test/conf/lang/stopwords_tr.txt +212 -0
  205. data/solr/ogp-test/conf/lang/userdict_ja.txt +29 -0
  206. data/solr/ogp-test/conf/mapping-FoldToASCII.txt +3813 -0
  207. data/solr/ogp-test/conf/mapping-ISOLatin1Accent.txt +246 -0
  208. data/solr/ogp-test/conf/protwords.txt +21 -0
  209. data/solr/ogp-test/conf/schema.xml +1362 -0
  210. data/solr/ogp-test/conf/scripts.conf +24 -0
  211. data/solr/ogp-test/conf/solrconfig.xml +1816 -0
  212. data/solr/ogp-test/conf/spellings.txt +2 -0
  213. data/solr/ogp-test/conf/stopwords.txt +14 -0
  214. data/solr/ogp-test/conf/synonyms.txt +29 -0
  215. data/solr/ogp-test/conf/synonymsIso.txt +158 -0
  216. data/solr/ogp-test/conf/synonymsLcsh.txt +120 -0
  217. data/solr/ogp-test/conf/synonymsState.txt +105 -0
  218. data/solr/ogp-test/conf/update-script.js +53 -0
  219. data/solr/ogp-test/conf/velocity/VM_global_library.vm +170 -0
  220. data/solr/ogp-test/conf/velocity/browse.vm +50 -0
  221. data/solr/ogp-test/conf/velocity/cluster.vm +9 -0
  222. data/solr/ogp-test/conf/velocity/clusterResults.vm +12 -0
  223. data/solr/ogp-test/conf/velocity/debug.vm +17 -0
  224. data/solr/ogp-test/conf/velocity/did_you_mean.vm +4 -0
  225. data/solr/ogp-test/conf/velocity/facet_fields.vm +15 -0
  226. data/solr/ogp-test/conf/velocity/facet_pivot.vm +3 -0
  227. data/solr/ogp-test/conf/velocity/facet_queries.vm +3 -0
  228. data/solr/ogp-test/conf/velocity/facet_ranges.vm +15 -0
  229. data/solr/ogp-test/conf/velocity/facets.vm +5 -0
  230. data/solr/ogp-test/conf/velocity/footer.vm +17 -0
  231. data/solr/ogp-test/conf/velocity/head.vm +32 -0
  232. data/solr/ogp-test/conf/velocity/header.vm +3 -0
  233. data/solr/ogp-test/conf/velocity/hit.vm +11 -0
  234. data/solr/ogp-test/conf/velocity/hitGrouped.vm +24 -0
  235. data/solr/ogp-test/conf/velocity/join-doc.vm +4 -0
  236. data/solr/ogp-test/conf/velocity/jquery.autocomplete.css +48 -0
  237. data/solr/ogp-test/conf/velocity/jquery.autocomplete.js +763 -0
  238. data/solr/ogp-test/conf/velocity/layout.vm +20 -0
  239. data/solr/ogp-test/conf/velocity/main.css +208 -0
  240. data/solr/ogp-test/conf/velocity/product-doc.vm +27 -0
  241. data/solr/ogp-test/conf/velocity/query.vm +42 -0
  242. data/solr/ogp-test/conf/velocity/queryGroup.vm +19 -0
  243. data/solr/ogp-test/conf/velocity/querySpatial.vm +40 -0
  244. data/solr/ogp-test/conf/velocity/richtext-doc.vm +114 -0
  245. data/solr/ogp-test/conf/velocity/suggest.vm +3 -0
  246. data/solr/ogp-test/conf/velocity/tabs.vm +6 -0
  247. data/solr/ogp-test/conf/xslt/example.xsl +132 -0
  248. data/solr/ogp-test/conf/xslt/example_atom.xsl +67 -0
  249. data/solr/ogp-test/conf/xslt/example_rss.xsl +66 -0
  250. data/solr/ogp-test/conf/xslt/luke.xsl +337 -0
  251. data/solr/ogp-test/conf/xslt/updateXml.xsl +70 -0
  252. data/solr/ogp-test/deploy.sh +15 -0
  253. data/solr/ogp-test/purge.sh +9 -0
  254. data/solr/ogp-test/upload.sh +17 -0
  255. data/solr/ogp/conf/admin-extra.html +24 -0
  256. data/solr/ogp/conf/admin-extra.menu-bottom.html +25 -0
  257. data/solr/ogp/conf/admin-extra.menu-top.html +25 -0
  258. data/solr/ogp/conf/currency.xml +67 -0
  259. data/solr/ogp/conf/elevate.xml +38 -0
  260. data/solr/ogp/conf/lang/contractions_ca.txt +8 -0
  261. data/solr/ogp/conf/lang/contractions_fr.txt +15 -0
  262. data/solr/ogp/conf/lang/contractions_ga.txt +5 -0
  263. data/solr/ogp/conf/lang/contractions_it.txt +23 -0
  264. data/solr/ogp/conf/lang/hyphenations_ga.txt +5 -0
  265. data/solr/ogp/conf/lang/stemdict_nl.txt +6 -0
  266. data/solr/ogp/conf/lang/stoptags_ja.txt +420 -0
  267. data/solr/ogp/conf/lang/stopwords_ar.txt +125 -0
  268. data/solr/ogp/conf/lang/stopwords_bg.txt +193 -0
  269. data/solr/ogp/conf/lang/stopwords_ca.txt +220 -0
  270. data/solr/ogp/conf/lang/stopwords_cz.txt +172 -0
  271. data/solr/ogp/conf/lang/stopwords_da.txt +108 -0
  272. data/solr/ogp/conf/lang/stopwords_de.txt +292 -0
  273. data/solr/ogp/conf/lang/stopwords_el.txt +78 -0
  274. data/solr/ogp/conf/lang/stopwords_en.txt +54 -0
  275. data/solr/ogp/conf/lang/stopwords_es.txt +354 -0
  276. data/solr/ogp/conf/lang/stopwords_eu.txt +99 -0
  277. data/solr/ogp/conf/lang/stopwords_fa.txt +313 -0
  278. data/solr/ogp/conf/lang/stopwords_fi.txt +95 -0
  279. data/solr/ogp/conf/lang/stopwords_fr.txt +184 -0
  280. data/solr/ogp/conf/lang/stopwords_ga.txt +110 -0
  281. data/solr/ogp/conf/lang/stopwords_gl.txt +161 -0
  282. data/solr/ogp/conf/lang/stopwords_hi.txt +235 -0
  283. data/solr/ogp/conf/lang/stopwords_hu.txt +209 -0
  284. data/solr/ogp/conf/lang/stopwords_hy.txt +46 -0
  285. data/solr/ogp/conf/lang/stopwords_id.txt +359 -0
  286. data/solr/ogp/conf/lang/stopwords_it.txt +301 -0
  287. data/solr/ogp/conf/lang/stopwords_ja.txt +127 -0
  288. data/solr/ogp/conf/lang/stopwords_lv.txt +172 -0
  289. data/solr/ogp/conf/lang/stopwords_nl.txt +117 -0
  290. data/solr/ogp/conf/lang/stopwords_no.txt +192 -0
  291. data/solr/ogp/conf/lang/stopwords_pt.txt +251 -0
  292. data/solr/ogp/conf/lang/stopwords_ro.txt +233 -0
  293. data/solr/ogp/conf/lang/stopwords_ru.txt +241 -0
  294. data/solr/ogp/conf/lang/stopwords_sv.txt +131 -0
  295. data/solr/ogp/conf/lang/stopwords_th.txt +119 -0
  296. data/solr/ogp/conf/lang/stopwords_tr.txt +212 -0
  297. data/solr/ogp/conf/lang/userdict_ja.txt +29 -0
  298. data/solr/ogp/conf/mapping-FoldToASCII.txt +3813 -0
  299. data/solr/ogp/conf/mapping-ISOLatin1Accent.txt +246 -0
  300. data/solr/ogp/conf/protwords.txt +21 -0
  301. data/solr/ogp/conf/schema.xml +1362 -0
  302. data/solr/ogp/conf/scripts.conf +24 -0
  303. data/solr/ogp/conf/solrconfig.xml +1816 -0
  304. data/solr/ogp/conf/spellings.txt +2 -0
  305. data/solr/ogp/conf/stopwords.txt +14 -0
  306. data/solr/ogp/conf/synonyms.txt +29 -0
  307. data/solr/ogp/conf/synonymsIso.txt +158 -0
  308. data/solr/ogp/conf/synonymsLcsh.txt +120 -0
  309. data/solr/ogp/conf/synonymsState.txt +105 -0
  310. data/solr/ogp/conf/update-script.js +53 -0
  311. data/solr/ogp/conf/velocity/VM_global_library.vm +170 -0
  312. data/solr/ogp/conf/velocity/browse.vm +50 -0
  313. data/solr/ogp/conf/velocity/cluster.vm +9 -0
  314. data/solr/ogp/conf/velocity/clusterResults.vm +12 -0
  315. data/solr/ogp/conf/velocity/debug.vm +17 -0
  316. data/solr/ogp/conf/velocity/did_you_mean.vm +4 -0
  317. data/solr/ogp/conf/velocity/facet_fields.vm +15 -0
  318. data/solr/ogp/conf/velocity/facet_pivot.vm +3 -0
  319. data/solr/ogp/conf/velocity/facet_queries.vm +3 -0
  320. data/solr/ogp/conf/velocity/facet_ranges.vm +15 -0
  321. data/solr/ogp/conf/velocity/facets.vm +5 -0
  322. data/solr/ogp/conf/velocity/footer.vm +17 -0
  323. data/solr/ogp/conf/velocity/head.vm +32 -0
  324. data/solr/ogp/conf/velocity/header.vm +3 -0
  325. data/solr/ogp/conf/velocity/hit.vm +11 -0
  326. data/solr/ogp/conf/velocity/hitGrouped.vm +24 -0
  327. data/solr/ogp/conf/velocity/join-doc.vm +4 -0
  328. data/solr/ogp/conf/velocity/jquery.autocomplete.css +48 -0
  329. data/solr/ogp/conf/velocity/jquery.autocomplete.js +763 -0
  330. data/solr/ogp/conf/velocity/layout.vm +20 -0
  331. data/solr/ogp/conf/velocity/main.css +208 -0
  332. data/solr/ogp/conf/velocity/product-doc.vm +27 -0
  333. data/solr/ogp/conf/velocity/query.vm +42 -0
  334. data/solr/ogp/conf/velocity/queryGroup.vm +19 -0
  335. data/solr/ogp/conf/velocity/querySpatial.vm +40 -0
  336. data/solr/ogp/conf/velocity/richtext-doc.vm +114 -0
  337. data/solr/ogp/conf/velocity/suggest.vm +3 -0
  338. data/solr/ogp/conf/velocity/tabs.vm +6 -0
  339. data/solr/ogp/conf/xslt/example.xsl +132 -0
  340. data/solr/ogp/conf/xslt/example_atom.xsl +67 -0
  341. data/solr/ogp/conf/xslt/example_rss.xsl +66 -0
  342. data/solr/ogp/conf/xslt/luke.xsl +337 -0
  343. data/solr/ogp/conf/xslt/updateXml.xsl +70 -0
  344. data/solr/ogp/deploy.sh +15 -0
  345. data/solr/ogp/upload.sh +16 -0
  346. data/spec/fixtures/bw938nk9584/metadata/geoMetadata.xml +2438 -0
  347. data/spec/fixtures/bw938nk9584/temp/TRIPURA-iso19139-fc.xml +1643 -0
  348. data/spec/fixtures/bw938nk9584/temp/TRIPURA-iso19139.xml +790 -0
  349. data/spec/fixtures/cc142xj8436/metadata/geoMetadata.xml +2029 -0
  350. data/spec/fixtures/cc142xj8436/temp/HARYANA-iso19139-fc.xml +1174 -0
  351. data/spec/fixtures/cc142xj8436/temp/HARYANA-iso19139.xml +850 -0
  352. data/spec/fixtures/cg716wc7949/metadata/geoMetadata.xml +1815 -0
  353. data/spec/fixtures/cg716wc7949/temp/metadata.iso19139-fc.xml +958 -0
  354. data/spec/fixtures/cg716wc7949/temp/metadata.iso19139.xml +852 -0
  355. data/spec/fixtures/cm007pv9601/metadata/geoMetadata.xml +1092 -0
  356. data/spec/fixtures/cm007pv9601/temp/MEGHALAYA-iso19139-fc.xml +379 -0
  357. data/spec/fixtures/cm007pv9601/temp/MEGHALAYA-iso19139.xml +708 -0
  358. data/spec/fixtures/cp055nb0189/metadata/geoMetadata.xml +1820 -0
  359. data/spec/fixtures/cp055nb0189/temp/metadata.iso19139-fc.xml +955 -0
  360. data/spec/fixtures/cp055nb0189/temp/metadata.iso19139.xml +860 -0
  361. data/spec/fixtures/cs838pw3418/metadata/geoMetadata.xml +912 -0
  362. data/spec/fixtures/cs838pw3418/temp/OIL_GAS_FIELDS-iso19139-fc.xml +177 -0
  363. data/spec/fixtures/cs838pw3418/temp/OIL_GAS_FIELDS-iso19139.xml +730 -0
  364. data/spec/fixtures/dd308sy5843/metadata/geoMetadata.xml +2438 -0
  365. data/spec/fixtures/dd308sy5843/temp/ORISSA-iso19139-fc.xml +1643 -0
  366. data/spec/fixtures/dd308sy5843/temp/ORISSA-iso19139.xml +790 -0
  367. data/spec/fixtures/dd452vk1873/metadata/geoMetadata.xml +1168 -0
  368. data/spec/fixtures/dd452vk1873/temp/metadata.iso19139-fc.xml +175 -0
  369. data/spec/fixtures/dd452vk1873/temp/metadata.iso19139.xml +988 -0
  370. data/spec/fixtures/dg850pt1796/metadata/geoMetadata.xml +1411 -0
  371. data/spec/fixtures/dg850pt1796/temp/STATE1951-iso19139-fc.xml +519 -0
  372. data/spec/fixtures/dg850pt1796/temp/STATE1951-iso19139.xml +887 -0
  373. data/spec/fixtures/dn744tf5427/metadata/geoMetadata.xml +7403 -0
  374. data/spec/fixtures/dn744tf5427/temp/DISTRICT1991-iso19139-fc.xml +6539 -0
  375. data/spec/fixtures/dn744tf5427/temp/DISTRICT1991-iso19139.xml +859 -0
  376. data/spec/fixtures/dq603nz8402/metadata/geoMetadata.xml +8485 -0
  377. data/spec/fixtures/dq603nz8402/temp/STATE2001-iso19139-fc.xml +7595 -0
  378. data/spec/fixtures/dq603nz8402/temp/STATE2001-iso19139.xml +885 -0
  379. data/spec/fixtures/dv609zt4699/metadata/geoMetadata.xml +3865 -0
  380. data/spec/fixtures/dv609zt4699/temp/ASSAM-iso19139-fc.xml +3075 -0
  381. data/spec/fixtures/dv609zt4699/temp/ASSAM-iso19139.xml +785 -0
  382. data/spec/fixtures/dz222hw0585/metadata/geoMetadata.xml +2057 -0
  383. data/spec/fixtures/dz222hw0585/temp/PUNJAB-iso19139-fc.xml +1203 -0
  384. data/spec/fixtures/dz222hw0585/temp/PUNJAB-iso19139.xml +849 -0
  385. data/spec/fixtures/fd673qb9705/metadata/geoMetadata.xml +4059 -0
  386. data/spec/fixtures/fd673qb9705/temp/STATE1971-iso19139-fc.xml +3159 -0
  387. data/spec/fixtures/fd673qb9705/temp/STATE1971-iso19139.xml +895 -0
  388. data/spec/fixtures/fg451wp8917/metadata/geoMetadata.xml +2435 -0
  389. data/spec/fixtures/fg451wp8917/temp/SIKKIM-iso19139-fc.xml +1643 -0
  390. data/spec/fixtures/fg451wp8917/temp/SIKKIM-iso19139.xml +787 -0
  391. data/spec/fixtures/fh247yz0156/metadata/geoMetadata.xml +2437 -0
  392. data/spec/fixtures/fh247yz0156/temp/RAJASTHAN-iso19139-fc.xml +1643 -0
  393. data/spec/fixtures/fh247yz0156/temp/RAJASTHAN-iso19139.xml +789 -0
  394. data/spec/fixtures/fs487vd1465/metadata/geoMetadata.xml +3896 -0
  395. data/spec/fixtures/fs487vd1465/temp/CHHATTISGARH-iso19139-fc.xml +3075 -0
  396. data/spec/fixtures/fs487vd1465/temp/CHHATTISGARH-iso19139.xml +816 -0
  397. data/spec/fixtures/fs591bn3317/metadata/geoMetadata.xml +2435 -0
  398. data/spec/fixtures/fs591bn3317/temp/HIMACHAL_PRADESH-iso19139-fc.xml +1643 -0
  399. data/spec/fixtures/fs591bn3317/temp/HIMACHAL_PRADESH-iso19139.xml +787 -0
  400. data/spec/fixtures/fw920bc5473/metadata/geoMetadata.xml +1056 -0
  401. data/spec/fixtures/fw920bc5473/temp/PLSS_TWN-iso19139-fc.xml +327 -0
  402. data/spec/fixtures/fw920bc5473/temp/PLSS_TWN-iso19139.xml +724 -0
  403. data/spec/fixtures/gj831wj3625/metadata/geoMetadata.xml +1735 -0
  404. data/spec/fixtures/gj831wj3625/temp/metadata.iso19139-fc.xml +940 -0
  405. data/spec/fixtures/gj831wj3625/temp/metadata.iso19139.xml +790 -0
  406. data/spec/fixtures/gp075nv3265/metadata/geoMetadata.xml +2432 -0
  407. data/spec/fixtures/gp075nv3265/temp/PONDICHERRY-iso19139-fc.xml +1643 -0
  408. data/spec/fixtures/gp075nv3265/temp/PONDICHERRY-iso19139.xml +784 -0
  409. data/spec/fixtures/gv800hj8141/metadata/geoMetadata.xml +2392 -0
  410. data/spec/fixtures/gv800hj8141/temp/BIHAR-iso19139-fc.xml +1643 -0
  411. data/spec/fixtures/gv800hj8141/temp/BIHAR-iso19139.xml +744 -0
  412. data/spec/fixtures/gw520gz6339/metadata/geoMetadata.xml +3899 -0
  413. data/spec/fixtures/gw520gz6339/temp/DADRA_NAGAR_HAVELI_PT-iso19139-fc.xml +3075 -0
  414. data/spec/fixtures/gw520gz6339/temp/DADRA_NAGAR_HAVELI_PT-iso19139.xml +819 -0
  415. data/spec/fixtures/gy054hz1045/metadata/geoMetadata.xml +2418 -0
  416. data/spec/fixtures/gy054hz1045/temp/HARYANA-iso19139-fc.xml +1633 -0
  417. data/spec/fixtures/gy054hz1045/temp/HARYANA-iso19139.xml +780 -0
  418. data/spec/fixtures/gz352mw6982/metadata/geoMetadata.xml +1772 -0
  419. data/spec/fixtures/gz352mw6982/temp/metadata.iso19139-fc.xml +940 -0
  420. data/spec/fixtures/gz352mw6982/temp/metadata.iso19139.xml +827 -0
  421. data/spec/fixtures/hb489vm9892/metadata/geoMetadata.xml +3663 -0
  422. data/spec/fixtures/hb489vm9892/temp/DISTRICT1981-iso19139-fc.xml +2799 -0
  423. data/spec/fixtures/hb489vm9892/temp/DISTRICT1981-iso19139.xml +859 -0
  424. data/spec/fixtures/hw125dq0418/metadata/geoMetadata.xml +2448 -0
  425. data/spec/fixtures/hw125dq0418/temp/DELHI-iso19139-fc.xml +1599 -0
  426. data/spec/fixtures/hw125dq0418/temp/DELHI-iso19139.xml +844 -0
  427. data/spec/fixtures/hw892mn4587/metadata/geoMetadata.xml +2561 -0
  428. data/spec/fixtures/hw892mn4587/temp/KERALA-iso19139-fc.xml +1763 -0
  429. data/spec/fixtures/hw892mn4587/temp/KERALA-iso19139.xml +793 -0
  430. data/spec/fixtures/jb371hz3868/metadata/geoMetadata.xml +3129 -0
  431. data/spec/fixtures/jb371hz3868/temp/INCOME-iso19139-fc.xml +2263 -0
  432. data/spec/fixtures/jb371hz3868/temp/INCOME-iso19139.xml +861 -0
  433. data/spec/fixtures/jc017yk9928/metadata/geoMetadata.xml +2433 -0
  434. data/spec/fixtures/jc017yk9928/temp/KARNATAKA-iso19139-fc.xml +1599 -0
  435. data/spec/fixtures/jc017yk9928/temp/KARNATAKA-iso19139.xml +829 -0
  436. data/spec/fixtures/jf841ys4828/metadata/geoMetadata.xml +2156 -0
  437. data/spec/fixtures/jf841ys4828/temp/ANDHRA_PRADESH-iso19139-fc.xml +1247 -0
  438. data/spec/fixtures/jf841ys4828/temp/ANDHRA_PRADESH-iso19139.xml +904 -0
  439. data/spec/fixtures/jh802mp2160/metadata/geoMetadata.xml +3917 -0
  440. data/spec/fixtures/jh802mp2160/temp/DELHI_PT-iso19139-fc.xml +3075 -0
  441. data/spec/fixtures/jh802mp2160/temp/DELHI_PT-iso19139.xml +837 -0
  442. data/spec/fixtures/jj806fc3801/metadata/geoMetadata.xml +1235 -0
  443. data/spec/fixtures/jj806fc3801/temp/metadata.iso19139-fc.xml +173 -0
  444. data/spec/fixtures/jj806fc3801/temp/metadata.iso19139.xml +1057 -0
  445. data/spec/fixtures/jq835yn7161/metadata/geoMetadata.xml +2060 -0
  446. data/spec/fixtures/jq835yn7161/temp/HIMACHAL_PRADESH-iso19139-fc.xml +1203 -0
  447. data/spec/fixtures/jq835yn7161/temp/HIMACHAL_PRADESH-iso19139.xml +852 -0
  448. data/spec/fixtures/jr455pt6676/metadata/geoMetadata.xml +2045 -0
  449. data/spec/fixtures/jr455pt6676/temp/TAMILNADU-iso19139-fc.xml +1203 -0
  450. data/spec/fixtures/jr455pt6676/temp/TAMILNADU-iso19139.xml +837 -0
  451. data/spec/fixtures/js637zp2537/metadata/geoMetadata.xml +3894 -0
  452. data/spec/fixtures/js637zp2537/temp/BIHAR-iso19139-fc.xml +3075 -0
  453. data/spec/fixtures/js637zp2537/temp/BIHAR-iso19139.xml +814 -0
  454. data/spec/fixtures/jv502wg9611/metadata/geoMetadata.xml +2052 -0
  455. data/spec/fixtures/jv502wg9611/temp/GOA-iso19139-fc.xml +1203 -0
  456. data/spec/fixtures/jv502wg9611/temp/GOA-iso19139.xml +844 -0
  457. data/spec/fixtures/jw462ck6560/metadata/geoMetadata.xml +2442 -0
  458. data/spec/fixtures/jw462ck6560/temp/JAMMU_KASHMIR-iso19139-fc.xml +1643 -0
  459. data/spec/fixtures/jw462ck6560/temp/JAMMU_KASHMIR-iso19139.xml +794 -0
  460. data/spec/fixtures/kj800fb6273/metadata/geoMetadata.xml +3300 -0
  461. data/spec/fixtures/kj800fb6273/temp/STATE2011-iso19139-fc.xml +2403 -0
  462. data/spec/fixtures/kj800fb6273/temp/STATE2011-iso19139.xml +892 -0
  463. data/spec/fixtures/km504zq3948/metadata/geoMetadata.xml +3862 -0
  464. data/spec/fixtures/km504zq3948/temp/HIMACHAL_PRADESH-iso19139-fc.xml +3075 -0
  465. data/spec/fixtures/km504zq3948/temp/HIMACHAL_PRADESH-iso19139.xml +782 -0
  466. data/spec/fixtures/ks297fy1411/metadata/geoMetadata.xml +1043 -0
  467. data/spec/fixtures/ks297fy1411/temp/OFFSH_BLOCKS-iso19139-fc.xml +350 -0
  468. data/spec/fixtures/ks297fy1411/temp/OFFSH_BLOCKS-iso19139.xml +688 -0
  469. data/spec/fixtures/md358hy5049/metadata/geoMetadata.xml +2424 -0
  470. data/spec/fixtures/md358hy5049/temp/MIZORAM-iso19139-fc.xml +1570 -0
  471. data/spec/fixtures/md358hy5049/temp/MIZORAM-iso19139.xml +849 -0
  472. data/spec/fixtures/mg745bq0193/metadata/geoMetadata.xml +2183 -0
  473. data/spec/fixtures/mg745bq0193/temp/MADHYA_PRADESH-iso19139-fc.xml +1383 -0
  474. data/spec/fixtures/mg745bq0193/temp/MADHYA_PRADESH-iso19139.xml +795 -0
  475. data/spec/fixtures/mh187yx3536/metadata/geoMetadata.xml +2447 -0
  476. data/spec/fixtures/mh187yx3536/temp/WEST_BENGAL-iso19139-fc.xml +1643 -0
  477. data/spec/fixtures/mh187yx3536/temp/WEST_BENGAL-iso19139.xml +799 -0
  478. data/spec/fixtures/mk488yn6694/metadata/geoMetadata.xml +2042 -0
  479. data/spec/fixtures/mk488yn6694/temp/GUJARAT-iso19139-fc.xml +1203 -0
  480. data/spec/fixtures/mk488yn6694/temp/GUJARAT-iso19139.xml +834 -0
  481. data/spec/fixtures/my216kp3008/metadata/geoMetadata.xml +2366 -0
  482. data/spec/fixtures/my216kp3008/temp/DELHI-iso19139-fc.xml +1643 -0
  483. data/spec/fixtures/my216kp3008/temp/DELHI-iso19139.xml +718 -0
  484. data/spec/fixtures/my504nz9827/metadata/geoMetadata.xml +2367 -0
  485. data/spec/fixtures/my504nz9827/temp/JAMMU_KASHMIR-iso19139-fc.xml +1519 -0
  486. data/spec/fixtures/my504nz9827/temp/JAMMU_KASHMIR-iso19139.xml +843 -0
  487. data/spec/fixtures/ng819jm8700/metadata/geoMetadata.xml +2496 -0
  488. data/spec/fixtures/ng819jm8700/temp/MANIPUR-iso19139-fc.xml +1643 -0
  489. data/spec/fixtures/ng819jm8700/temp/MANIPUR-iso19139.xml +848 -0
  490. data/spec/fixtures/np020jq2139/metadata/geoMetadata.xml +1153 -0
  491. data/spec/fixtures/np020jq2139/temp/metadata.iso19139-fc.xml +160 -0
  492. data/spec/fixtures/np020jq2139/temp/metadata.iso19139.xml +988 -0
  493. data/spec/fixtures/ns377mt1608/metadata/geoMetadata.xml +7125 -0
  494. data/spec/fixtures/ns377mt1608/temp/STATE1991-iso19139-fc.xml +6283 -0
  495. data/spec/fixtures/ns377mt1608/temp/STATE1991-iso19139.xml +837 -0
  496. data/spec/fixtures/nw926np8508/metadata/geoMetadata.xml +1143 -0
  497. data/spec/fixtures/nw926np8508/temp/metadata.iso19139-fc.xml +160 -0
  498. data/spec/fixtures/nw926np8508/temp/metadata.iso19139.xml +978 -0
  499. data/spec/fixtures/ny358rm8559/metadata/geoMetadata.xml +2459 -0
  500. data/spec/fixtures/ny358rm8559/temp/TRIPURA-iso19139-fc.xml +1599 -0
  501. data/spec/fixtures/ny358rm8559/temp/TRIPURA-iso19139.xml +855 -0
  502. data/spec/fixtures/nz176rm8192/metadata/geoMetadata.xml +2618 -0
  503. data/spec/fixtures/nz176rm8192/temp/DISTRICT2011-iso19139-fc.xml +1813 -0
  504. data/spec/fixtures/nz176rm8192/temp/DISTRICT2011-iso19139.xml +800 -0
  505. data/spec/fixtures/nz252rq2252/metadata/geoMetadata.xml +2387 -0
  506. data/spec/fixtures/nz252rq2252/temp/UTTAR_PRADESH-iso19139-fc.xml +1599 -0
  507. data/spec/fixtures/nz252rq2252/temp/UTTAR_PRADESH-iso19139.xml +783 -0
  508. data/spec/fixtures/pd902kb3348/metadata/geoMetadata.xml +2414 -0
  509. data/spec/fixtures/pd902kb3348/temp/MADHYA_PRADESH-iso19139-fc.xml +1633 -0
  510. data/spec/fixtures/pd902kb3348/temp/MADHYA_PRADESH-iso19139.xml +776 -0
  511. data/spec/fixtures/pz792fz1776/metadata/geoMetadata.xml +2437 -0
  512. data/spec/fixtures/pz792fz1776/temp/MAHARASHTRA-iso19139-fc.xml +1643 -0
  513. data/spec/fixtures/pz792fz1776/temp/MAHARASHTRA-iso19139.xml +789 -0
  514. data/spec/fixtures/qb767ss4042/metadata/geoMetadata.xml +2045 -0
  515. data/spec/fixtures/qb767ss4042/temp/UTTAR_PRADESH-iso19139-fc.xml +1200 -0
  516. data/spec/fixtures/qb767ss4042/temp/UTTAR_PRADESH-iso19139.xml +840 -0
  517. data/spec/fixtures/qc091qw0570/metadata/geoMetadata.xml +2428 -0
  518. data/spec/fixtures/qc091qw0570/temp/GUJARAT-iso19139-fc.xml +1643 -0
  519. data/spec/fixtures/qc091qw0570/temp/GUJARAT-iso19139.xml +780 -0
  520. data/spec/fixtures/qc652vr7204/metadata/geoMetadata.xml +3877 -0
  521. data/spec/fixtures/qc652vr7204/temp/ANDHRA_PRADESH_PT-iso19139-fc.xml +3075 -0
  522. data/spec/fixtures/qc652vr7204/temp/ANDHRA_PRADESH_PT-iso19139.xml +797 -0
  523. data/spec/fixtures/qk786js7484/metadata/geoMetadata.xml +3267 -0
  524. data/spec/fixtures/qk786js7484/temp/DISTRICT1961-iso19139-fc.xml +2403 -0
  525. data/spec/fixtures/qk786js7484/temp/DISTRICT1961-iso19139.xml +859 -0
  526. data/spec/fixtures/qn676pg6767/metadata/geoMetadata.xml +3861 -0
  527. data/spec/fixtures/qn676pg6767/temp/GOA-iso19139-fc.xml +3075 -0
  528. data/spec/fixtures/qn676pg6767/temp/GOA-iso19139.xml +781 -0
  529. data/spec/fixtures/qr255jh4074/metadata/geoMetadata.xml +3226 -0
  530. data/spec/fixtures/qr255jh4074/temp/LOKSABHA_14-iso19139-fc.xml +2366 -0
  531. data/spec/fixtures/qr255jh4074/temp/LOKSABHA_14-iso19139.xml +855 -0
  532. data/spec/fixtures/qr374kj4827/metadata/geoMetadata.xml +2428 -0
  533. data/spec/fixtures/qr374kj4827/temp/ASSAM-iso19139-fc.xml +1643 -0
  534. data/spec/fixtures/qr374kj4827/temp/ASSAM-iso19139.xml +780 -0
  535. data/spec/fixtures/qy162js1748/metadata/geoMetadata.xml +2440 -0
  536. data/spec/fixtures/qy162js1748/temp/CHHATTISGARH-iso19139-fc.xml +1643 -0
  537. data/spec/fixtures/qy162js1748/temp/CHHATTISGARH-iso19139.xml +792 -0
  538. data/spec/fixtures/rd446vf2633/metadata/geoMetadata.xml +1109 -0
  539. data/spec/fixtures/rd446vf2633/temp/NAGALAND-iso19139-fc.xml +379 -0
  540. data/spec/fixtures/rd446vf2633/temp/NAGALAND-iso19139.xml +725 -0
  541. data/spec/fixtures/rf389hf2983/metadata/geoMetadata.xml +3929 -0
  542. data/spec/fixtures/rf389hf2983/temp/CHHATTISGARH_PT-iso19139-fc.xml +3075 -0
  543. data/spec/fixtures/rf389hf2983/temp/CHHATTISGARH_PT-iso19139.xml +849 -0
  544. data/spec/fixtures/rf859ff4582/metadata/geoMetadata.xml +1251 -0
  545. data/spec/fixtures/rf859ff4582/temp/JHARKHAND-iso19139-fc.xml +459 -0
  546. data/spec/fixtures/rf859ff4582/temp/JHARKHAND-iso19139.xml +787 -0
  547. data/spec/fixtures/rh343ds8931/metadata/geoMetadata.xml +2032 -0
  548. data/spec/fixtures/rh343ds8931/temp/BIHAR-iso19139-fc.xml +1174 -0
  549. data/spec/fixtures/rh343ds8931/temp/BIHAR-iso19139.xml +853 -0
  550. data/spec/fixtures/rn815xk8157/metadata/geoMetadata.xml +2417 -0
  551. data/spec/fixtures/rn815xk8157/temp/SIKKIM-iso19139-fc.xml +1563 -0
  552. data/spec/fixtures/rn815xk8157/temp/SIKKIM-iso19139.xml +849 -0
  553. data/spec/fixtures/rq653sz4470/metadata/geoMetadata.xml +2394 -0
  554. data/spec/fixtures/rq653sz4470/temp/CHHATTISGARH-iso19139-fc.xml +1599 -0
  555. data/spec/fixtures/rq653sz4470/temp/CHHATTISGARH-iso19139.xml +790 -0
  556. data/spec/fixtures/rt625ws6022/metadata/geoMetadata.xml +833 -0
  557. data/spec/fixtures/rt625ws6022/temp/GULF_FAIRWAYS-iso19139-fc.xml +144 -0
  558. data/spec/fixtures/rt625ws6022/temp/GULF_FAIRWAYS-iso19139.xml +684 -0
  559. data/spec/fixtures/sc330vf4259/metadata/geoMetadata.xml +1836 -0
  560. data/spec/fixtures/sc330vf4259/temp/JHARKHAND-iso19139-fc.xml +987 -0
  561. data/spec/fixtures/sc330vf4259/temp/JHARKHAND-iso19139.xml +844 -0
  562. data/spec/fixtures/sq479mx3086/metadata/geoMetadata.xml +1043 -0
  563. data/spec/fixtures/sq479mx3086/temp/OFFSH_PLATF-iso19139-fc.xml +365 -0
  564. data/spec/fixtures/sq479mx3086/temp/OFFSH_PLATF-iso19139.xml +673 -0
  565. data/spec/fixtures/sr686bm4098/metadata/geoMetadata.xml +3896 -0
  566. data/spec/fixtures/sr686bm4098/temp/DAMAN_DIU_PT-iso19139-fc.xml +3075 -0
  567. data/spec/fixtures/sr686bm4098/temp/DAMAN_DIU_PT-iso19139.xml +816 -0
  568. data/spec/fixtures/sv303sh5583/metadata/geoMetadata.xml +2395 -0
  569. data/spec/fixtures/sv303sh5583/temp/ARUNACHAL_PRADESH-iso19139-fc.xml +1555 -0
  570. data/spec/fixtures/sv303sh5583/temp/ARUNACHAL_PRADESH-iso19139.xml +835 -0
  571. data/spec/fixtures/sy319nh8520/metadata/geoMetadata.xml +3925 -0
  572. data/spec/fixtures/sy319nh8520/temp/GUJARAT-iso19139-fc.xml +3075 -0
  573. data/spec/fixtures/sy319nh8520/temp/GUJARAT-iso19139.xml +845 -0
  574. data/spec/fixtures/td363vx2792/metadata/geoMetadata.xml +3964 -0
  575. data/spec/fixtures/td363vx2792/temp/HIMACHAL_PRADESH_PT-iso19139-fc.xml +3075 -0
  576. data/spec/fixtures/td363vx2792/temp/HIMACHAL_PRADESH_PT-iso19139.xml +884 -0
  577. data/spec/fixtures/tf374bd2484/metadata/geoMetadata.xml +1464 -0
  578. data/spec/fixtures/tf374bd2484/temp/DISTRICT1951-iso19139-fc.xml +599 -0
  579. data/spec/fixtures/tf374bd2484/temp/DISTRICT1951-iso19139.xml +860 -0
  580. data/spec/fixtures/tj797mj7877/metadata/geoMetadata.xml +2359 -0
  581. data/spec/fixtures/tj797mj7877/temp/LOKSABHA_15-iso19139-fc.xml +1511 -0
  582. data/spec/fixtures/tj797mj7877/temp/LOKSABHA_15-iso19139.xml +843 -0
  583. data/spec/fixtures/tv060wq5179/metadata/geoMetadata.xml +2046 -0
  584. data/spec/fixtures/tv060wq5179/temp/ASSAM-iso19139-fc.xml +1203 -0
  585. data/spec/fixtures/tv060wq5179/temp/ASSAM-iso19139.xml +838 -0
  586. data/spec/fixtures/tv536bn1915/metadata/geoMetadata.xml +2296 -0
  587. data/spec/fixtures/tv536bn1915/temp/ARUNACHAL_PRADESH-iso19139-fc.xml +1687 -0
  588. data/spec/fixtures/tv536bn1915/temp/ARUNACHAL_PRADESH-iso19139.xml +604 -0
  589. data/spec/fixtures/tz359cc2977/metadata/geoMetadata.xml +1842 -0
  590. data/spec/fixtures/tz359cc2977/temp/MANIPUR-iso19139-fc.xml +987 -0
  591. data/spec/fixtures/tz359cc2977/temp/MANIPUR-iso19139.xml +850 -0
  592. data/spec/fixtures/vb525my6511/metadata/geoMetadata.xml +2026 -0
  593. data/spec/fixtures/vb525my6511/temp/UTTARAKHAND-iso19139-fc.xml +1167 -0
  594. data/spec/fixtures/vb525my6511/temp/UTTARAKHAND-iso19139.xml +854 -0
  595. data/spec/fixtures/vh802fs4240/metadata/geoMetadata.xml +2189 -0
  596. data/spec/fixtures/vh802fs4240/temp/PONDICHERRY-iso19139-fc.xml +1343 -0
  597. data/spec/fixtures/vh802fs4240/temp/PONDICHERRY-iso19139.xml +841 -0
  598. data/spec/fixtures/vk120xn2474/metadata/geoMetadata.xml +1125 -0
  599. data/spec/fixtures/vk120xn2474/temp/PLSS_SEC-iso19139-fc.xml +435 -0
  600. data/spec/fixtures/vk120xn2474/temp/PLSS_SEC-iso19139.xml +685 -0
  601. data/spec/fixtures/vn439bc7316/metadata/geoMetadata.xml +1979 -0
  602. data/spec/fixtures/vn439bc7316/temp/KERALA-iso19139-fc.xml +1131 -0
  603. data/spec/fixtures/vn439bc7316/temp/KERALA-iso19139.xml +843 -0
  604. data/spec/fixtures/vq745jk0695/metadata/geoMetadata.xml +1787 -0
  605. data/spec/fixtures/vq745jk0695/temp/MEGHALAYA-iso19139-fc.xml +987 -0
  606. data/spec/fixtures/vq745jk0695/temp/MEGHALAYA-iso19139.xml +795 -0
  607. data/spec/fixtures/vr593vj7147/metadata/geoMetadata.xml +3895 -0
  608. data/spec/fixtures/vr593vj7147/temp/ANDHRA_PRADESH-iso19139-fc.xml +3075 -0
  609. data/spec/fixtures/vr593vj7147/temp/ANDHRA_PRADESH-iso19139.xml +815 -0
  610. data/spec/fixtures/vw911qb5271/metadata/geoMetadata.xml +8557 -0
  611. data/spec/fixtures/vw911qb5271/temp/DISTRICT2001-iso19139-fc.xml +7683 -0
  612. data/spec/fixtures/vw911qb5271/temp/DISTRICT2001-iso19139.xml +869 -0
  613. data/spec/fixtures/wg680pz0365/metadata/geoMetadata.xml +2475 -0
  614. data/spec/fixtures/wg680pz0365/temp/ANDHRA_PRADESH-iso19139-fc.xml +1599 -0
  615. data/spec/fixtures/wg680pz0365/temp/ANDHRA_PRADESH-iso19139.xml +871 -0
  616. data/spec/fixtures/wg761xn1926/metadata/geoMetadata.xml +3941 -0
  617. data/spec/fixtures/wg761xn1926/temp/HARYANA-iso19139-fc.xml +3075 -0
  618. data/spec/fixtures/wg761xn1926/temp/HARYANA-iso19139.xml +861 -0
  619. data/spec/fixtures/wh870qw1934/metadata/geoMetadata.xml +2428 -0
  620. data/spec/fixtures/wh870qw1934/temp/PUNJAB-iso19139-fc.xml +1643 -0
  621. data/spec/fixtures/wh870qw1934/temp/PUNJAB-iso19139.xml +780 -0
  622. data/spec/fixtures/wk775mm4673/metadata/geoMetadata.xml +2458 -0
  623. data/spec/fixtures/wk775mm4673/temp/MAHARASHTRA-iso19139-fc.xml +1599 -0
  624. data/spec/fixtures/wk775mm4673/temp/MAHARASHTRA-iso19139.xml +854 -0
  625. data/spec/fixtures/ws171yz2165/metadata/geoMetadata.xml +3868 -0
  626. data/spec/fixtures/ws171yz2165/temp/ARUNACHAL_PRADESH_PT-iso19139-fc.xml +3075 -0
  627. data/spec/fixtures/ws171yz2165/temp/ARUNACHAL_PRADESH_PT-iso19139.xml +788 -0
  628. data/spec/fixtures/wt473hz7153/metadata/geoMetadata.xml +3898 -0
  629. data/spec/fixtures/wt473hz7153/temp/CHANDIGARH_PT-iso19139-fc.xml +3075 -0
  630. data/spec/fixtures/wt473hz7153/temp/CHANDIGARH_PT-iso19139.xml +818 -0
  631. data/spec/fixtures/ww217dj0457/metadata/geoMetadata.xml +1205 -0
  632. data/spec/fixtures/ww217dj0457/temp/CO2_PIPE-iso19139-fc.xml +471 -0
  633. data/spec/fixtures/ww217dj0457/temp/CO2_PIPE-iso19139.xml +729 -0
  634. data/spec/fixtures/wy875pk9849/metadata/geoMetadata.xml +3173 -0
  635. data/spec/fixtures/wy875pk9849/temp/STATE1961-iso19139-fc.xml +2279 -0
  636. data/spec/fixtures/wy875pk9849/temp/STATE1961-iso19139.xml +889 -0
  637. data/spec/fixtures/xb018tk2042/metadata/geoMetadata.xml +2335 -0
  638. data/spec/fixtures/xb018tk2042/temp/STATE1981-iso19139-fc.xml +1443 -0
  639. data/spec/fixtures/xb018tk2042/temp/STATE1981-iso19139.xml +887 -0
  640. data/spec/fixtures/xg539vw8586/metadata/geoMetadata.xml +2405 -0
  641. data/spec/fixtures/xg539vw8586/temp/ORISSA-iso19139-fc.xml +1599 -0
  642. data/spec/fixtures/xg539vw8586/temp/ORISSA-iso19139.xml +801 -0
  643. data/spec/fixtures/xv475kp4644/metadata/geoMetadata.xml +3871 -0
  644. data/spec/fixtures/xv475kp4644/temp/ASSAM_PT-iso19139-fc.xml +3075 -0
  645. data/spec/fixtures/xv475kp4644/temp/ASSAM_PT-iso19139.xml +791 -0
  646. data/spec/fixtures/xy096gc2959/metadata/geoMetadata.xml +2432 -0
  647. data/spec/fixtures/xy096gc2959/temp/GOA-iso19139-fc.xml +1643 -0
  648. data/spec/fixtures/xy096gc2959/temp/GOA-iso19139.xml +784 -0
  649. data/spec/fixtures/xz518gz3362/metadata/geoMetadata.xml +2434 -0
  650. data/spec/fixtures/xz518gz3362/temp/UTTARAKHAND-iso19139-fc.xml +1643 -0
  651. data/spec/fixtures/xz518gz3362/temp/UTTARAKHAND-iso19139.xml +786 -0
  652. data/spec/fixtures/yh986wy4737/metadata/geoMetadata.xml +1160 -0
  653. data/spec/fixtures/yh986wy4737/temp/NAGALAND-iso19139-fc.xml +384 -0
  654. data/spec/fixtures/yh986wy4737/temp/NAGALAND-iso19139.xml +771 -0
  655. data/spec/fixtures/yn187fq4474/metadata/geoMetadata.xml +2168 -0
  656. data/spec/fixtures/yn187fq4474/temp/KARNATAKA-iso19139-fc.xml +1379 -0
  657. data/spec/fixtures/yn187fq4474/temp/KARNATAKA-iso19139.xml +784 -0
  658. data/spec/fixtures/yn236mw3250/metadata/geoMetadata.xml +2428 -0
  659. data/spec/fixtures/yn236mw3250/temp/TAMILNADU-iso19139-fc.xml +1643 -0
  660. data/spec/fixtures/yn236mw3250/temp/TAMILNADU-iso19139.xml +780 -0
  661. data/spec/fixtures/yz596nz0112/metadata/geoMetadata.xml +2012 -0
  662. data/spec/fixtures/yz596nz0112/temp/WEST_BENGAL-iso19139-fc.xml +1203 -0
  663. data/spec/fixtures/yz596nz0112/temp/WEST_BENGAL-iso19139.xml +804 -0
  664. data/spec/fixtures/zk596gy7380/metadata/geoMetadata.xml +4147 -0
  665. data/spec/fixtures/zk596gy7380/temp/DISTRICT1971-iso19139-fc.xml +3283 -0
  666. data/spec/fixtures/zk596gy7380/temp/DISTRICT1971-iso19139.xml +859 -0
  667. data/spec/fixtures/zn452hh7431/metadata/geoMetadata.xml +2337 -0
  668. data/spec/fixtures/zn452hh7431/temp/RAJASTHAN-iso19139-fc.xml +1505 -0
  669. data/spec/fixtures/zn452hh7431/temp/RAJASTHAN-iso19139.xml +827 -0
  670. data/spec/fixtures/zt093fw6519/metadata/geoMetadata.xml +2380 -0
  671. data/spec/fixtures/zt093fw6519/temp/MIZORAM-iso19139-fc.xml +1643 -0
  672. data/spec/fixtures/zt093fw6519/temp/MIZORAM-iso19139.xml +732 -0
  673. data/spec/fixtures/zv925hd6723/metadata/geoMetadata.xml +1473 -0
  674. data/spec/fixtures/zv925hd6723/temp/OGWELLS-iso19139-fc.xml +759 -0
  675. data/spec/fixtures/zv925hd6723/temp/OGWELLS-iso19139.xml +709 -0
  676. data/spec/fixtures/zy658cr1728/metadata/geoMetadata.xml +3814 -0
  677. data/spec/fixtures/zy658cr1728/temp/ANDAMAAN_NICOBAR_PT-iso19139-fc.xml +3075 -0
  678. data/spec/fixtures/zy658cr1728/temp/ANDAMAAN_NICOBAR_PT-iso19139.xml +734 -0
  679. data/spec/fixtures/zz943vx1492/metadata/geoMetadata.xml +861 -0
  680. data/spec/fixtures/zz943vx1492/temp/BASINS-iso19139-fc.xml +164 -0
  681. data/spec/fixtures/zz943vx1492/temp/BASINS-iso19139.xml +692 -0
  682. data/spec/integration/solr_spec_notready.rb +51 -0
  683. data/spec/test_net_ssh_krb.rb +21 -0
  684. data/spec/unit/gazetteer_spec.rb +100 -0
  685. data/spec/unit/transform_spec.rb +40 -0
  686. data/spec/unit/utils_spec.rb +32 -0
  687. metadata +1491 -0
@@ -0,0 +1,2 @@
1
+ pizza
2
+ history
@@ -0,0 +1,14 @@
1
+ # Licensed to the Apache Software Foundation (ASF) under one or more
2
+ # contributor license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright ownership.
4
+ # The ASF licenses this file to You under the Apache License, Version 2.0
5
+ # (the "License"); you may not use this file except in compliance with
6
+ # the License. You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
@@ -0,0 +1,29 @@
1
+ # The ASF licenses this file to You under the Apache License, Version 2.0
2
+ # (the "License"); you may not use this file except in compliance with
3
+ # the License. You may obtain a copy of the License at
4
+ #
5
+ # http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software
8
+ # distributed under the License is distributed on an "AS IS" BASIS,
9
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ # See the License for the specific language governing permissions and
11
+ # limitations under the License.
12
+
13
+ #-----------------------------------------------------------------------
14
+ #some test synonym mappings unlikely to appear in real input text
15
+ aaafoo => aaabar
16
+ bbbfoo => bbbfoo bbbbar
17
+ cccfoo => cccbar cccbaz
18
+ fooaaa,baraaa,bazaaa
19
+
20
+ # Some synonym groups specific to this example
21
+ GB,gib,gigabyte,gigabytes
22
+ MB,mib,megabyte,megabytes
23
+ Television, Televisions, TV, TVs
24
+ #notice we use "gib" instead of "GiB" so any WordDelimiterFilter coming
25
+ #after us won't split it into two words.
26
+
27
+ # Synonym mappings can be used for spelling correction too
28
+ pixima => pixma
29
+
@@ -0,0 +1,158 @@
1
+ Pollution,Contaminant,Contamination,Fouling,Atmosphere,NOx,Atmosphere,Ozone,Atmosphere,PM10,Atmosphere,Pollutants,pollution,Reclamation,smokestacks,SOx,Atmosphere
2
+
3
+ Older people,elder,elderly,retirement,senior
4
+
5
+ Buses,Bus,Buses,CTRAN,GRTA
6
+
7
+ Photography,landsat,NaturalVue,ortho,Orthoimagery,ortho-imagery,orthophoto,Orthophotography,Othophoto
8
+
9
+ Mountains,hill,hills,mount,mountain,Mountains,peak,Peaks,ridge,ridgelines,Geology,summit
10
+
11
+ Water-supply,Drinking,Water-pipes,Water-supply,Waterworks
12
+
13
+ Youth,child,children,teen,youth
14
+
15
+ Coasts,accretion,Geology,beach,Beaches,Breakwater,capes,coast,Coastal,Coastline,coastlines,Coasts,Intracoastal,isthmus,isthmuses,nearshore,peninsula,peninsulas,Seashore,seashores,shore,shoreline,shorelines,spit
16
+
17
+ Refuse, refuse disposal,garbage,hazmat,Landfill,Landfills,litter,recycling,trash,waste,wastewater
18
+
19
+ climatologyMeterorologyAtmosphere,Atmosphere,Air,Atmosphere,climate,Climatology,climatologymeteorology,Cloudiness,Clouds,Evapotrans,Evapotranspiration,haze,humidity,hurricane,Isohyets,Meteorological,Meteorology,Precipitation,Rain,rainfall,Sunshine,temperature,weather,wind
20
+
21
+ Census,AGEB,cbsa,Census
22
+
23
+ Recreation,Amphitheaters,Amphitheatre,aquariums,Arenas,athletics,Auditoriums,ballfields,Campgrounds,casinos,cinemas,Clubs,entertainment,Exhibitions,golf,Hiking,Mountaineering,"Museums,",Nightclubs,nightlife,opera,play,Playground,Playgrounds,Racetracks,Racing,Rail-trails,Railroads,recreation,Regattas,resorts,rinks,speedways,Sports,Stadium,Stadiums,swimming,tennis,theaters,theatres,trail,Trails,venues,yachts,YMCAs,Zoos
24
+
25
+ Crises,disaster
26
+
27
+ Agriculture,agricultural,Agriculture,Appellation,Commerce,Broilers,Calves,Cattle,Chickens,Corn,Cotton,Cranberies,Food,Cranberries,Food,cranberry,Food,Croplands,Crops,farm,farming,Farms,fertilizers,grazing,herbicide,Livestock,Orchards,pesticide,Plantations,Poultry,Rice,Soybeans,Vegetables,Viticulture,Wheat,Wine,Food,wineries,Food
28
+
29
+ Geology,bedrock,Erosion,eruptions,Eskers,Cryosphere,faults,fjords,Cryosphere,Geology,Geomorphology,geoscience,isopach,Kettlehole,Cryosphere,Landslides,lava,Lithology,Petrology,Rocks,Volcanoes
30
+
31
+ Airports,aircraft,airfield,airfields,airlines,Airplanes,airstrips,enplanements,Helicopters,ICAO,runway,runways
32
+
33
+ Real property,apartments,Buildings,Assessing,Assessor,cadastral,deeds,Easement,Easements,encumbrance,erven,Housing,Landowners,leasehold,leases,lot,Lots,parcel,Parcels,Property,servitude
34
+
35
+ "Justice, Administration of",Court,courthouses,Courts,Judicial,Justice,magistrate
36
+
37
+ Hydrology,FWHYDROGRAPHY,Hydrographic,Hydrography,hydrologic,Hydrological,Hydrology,Runoff,water-holes
38
+
39
+ Floods,DFIRM,Finance,Flood,Flooding,Floodplains,Watersheds,Floods,floodwalls,Walls,Floodway,NFIP,Finance,SFHA
40
+
41
+ History,ancestry,Historic,historical,History,Memorial,Memorials,Ruins
42
+
43
+ Earthquakes,Earthquakes,Geology,Magnitude,Geology,magnitudes,Geology,Paleoseismology,Geology,Seismology,Geology
44
+
45
+ utilitiesCommunications,Telecommunication,Broadcasting,cable,celltowers,Telecommunication,Telecommunications,Telegraph,telephone,telephones,television
46
+
47
+ environment,Environmental protection,Conservation,EPA,NHESP
48
+
49
+ transportation, Terminals (Transportation),hubs,seaports,terminals
50
+
51
+ Public safety,assaults,Emergency,FEMA,Fire,Firebreaks,Firehouses,Fires,Firewall,firewalls,Fuelbreaks,Hazard,Hazards,Hydrants,Larceny,shelter,shelters,signals,Signs,Streetlights,Traffic,Wildfire
52
+
53
+ Bodies of water,Bayous,channel,channels,Freshwater,gulfs,Coasts,Oshanas,pond,Ponds,sea,Seas,surfacewater
54
+
55
+ Schools,academies,College,colleges,colleges/universities,Education,preschool,preschools,school,Schools,universities,university,University/Colleges
56
+
57
+ Grids (Cartography),Equator,graticule,grid100,grid50,grids,Latitude,Latitude/Longitude,latitudes,Longitude,longitudes,utm
58
+
59
+ Railroads,Amtrak,fixed-guideway,LIRR,metro,metros,monorail,rail,railroad,Railroads,Rails,railway,railways,Railyards,Street-railroads,subway,Subways,train,Trains
60
+
61
+ Pedestrians,Curbs,Roads,Footpaths,handicap,Pavements,Pedestrian,sidewalk,Sidewalks,walk,Walking,Walkways
62
+
63
+ structure,Hydraulic structures,aqueduct,aqueducts,Barrages,Breakwaters,Coasts,canal,Canals,Culverts,Dam,Dams,Embankments,Flumes,Gryone,Coasts,Levees,Penstocks,Qanats,sluices,Weir,Weirs
64
+
65
+ Groundwater,Aquifers,Geology,Groundwater,Geology,Oases,Springs,Geology
66
+
67
+ Religious institutions,abbeys,Buddhism,chapels,church,churches,Convents,monasteries,Buildings,Mosques,Buildings,religion,religious,shrines,synagogues,Buildings,Temples,Buildings,Worship
68
+
69
+ Commerce,Billboards,businesses,Industries,Cargo,commerce,commercial,companies,Industries,Containerization,currencies,customers,employment,freeports,Harbors,freight,imports,malls,marketing,Markets,Occupations,pricing,purchases,rates,retail,revenues,sales,Shipping,shops,trade
70
+
71
+ Land use,Cemeteries,cemetery,graveyards,Greenways,grounds,landscaping,Landuse,pave,paved,Pavement,Planimetric,Planning,Plazas,PLSS,rangeland,Redevelopment,Surveying,unpaved,Zoning
72
+
73
+ Archaeology,Antiquities,Relics
74
+
75
+ Watersheds,Catchments,Hydrology,Drainage,Hydrology,drainages,Hydrology,Watershed,Watersheds,Hydrology
76
+
77
+ Protected areas,parkland,Parklands,Parks,Parkways,preserves
78
+
79
+ Demography,births,Caste,Citizenship,deaths,demographic,demographics,Demography,Ethnicity,Family,females,fertility,Foreign-Born,household,households,illiteracy,Schools,language,Languages,Literacy,males,Minorities,mortality,Multilingualism,people,Population,populations,Unemployment,Finance
80
+
81
+ Public institutions,Jails,Libraries,Buildings,Library,Buildings,museums,penitentiaries,Prison,Prisons
82
+
83
+ biota, Ecology & environment,biome,ecological,Ecology,ecoregions,Ecosystem,ecosystems,environmental,evolutionary,habitat,Habitats,reef,Reefs,sustainability,Wildlife,Zoology
84
+
85
+ Marine mammals,Cetaceans,Dolphins,Porpoises,Whales
86
+
87
+ Metropolitan areas,metropolitan,urban,Urbanization
88
+
89
+ Forests,forestry,arboretums,Plants,Evergreen,Plants,forestry,oak,Plants,Pine,Timberline,tree,Plants,Trees,Plants
90
+
91
+ Roads,arteries,automobiles,Avenue,Avenues,beltways,Boulevards,driveways,expressway,expressways,Freeways,highway,highways,intersections,interstate,interstates,lanes,motorways,road,Roadblocks,Roads,Roadways,route,Routes,Speedlimits,Street,Streets,Thoroughfares,Tollbooths,way
92
+
93
+ health,Public health,Clinics,dentists,doctor,doctors,ER,Gonorrhea,HIV,hospital,hospitals,immunization,MDPH,medical,Medicare,medicine,pharmacies,Physicians,polyclinics,quarantine,Sanitation,Syphilis,veterinarians
94
+
95
+ elevation,Altitudes,Altitude,Altitudes,Aspect,bathymetry,breaklines,contour,Contours,DEM,depths,DTM,echosounder,elevations,GTOPO30,highpoint,hillshaded,Hypsography,ruggedness,SRTM,terrain,topographic,topography,Topoquads
96
+
97
+ Capitals (Cities),capitals
98
+
99
+ Wetlands,Bog
100
+
101
+ "Names, Geographical",gazetteer,Gazetteers,GNS,label,Labels,Lable
102
+
103
+ Walls,Fences,Fortification,fortresses,Buildings,Gates,Hedges,Seawall,Wall,Walls
104
+
105
+ Finance,atms,bank,banks,Finance,income,Insurance,Tax,Taxation,Taxes
106
+
107
+ Boats, boating,Boat,Boating,Ferries,ferry,lighthouse,Coasts,lighthouses,Coasts,locks,Marinas,Shipwrecks,waterway,Waterways
108
+
109
+ intelligenceMilitary,International relations,Armistices,Crises,Army,bioterrorism,Crises,CIA,Installation,Installations,Military,Navy
110
+
111
+ boundaries, Administrative,political divisions,administrative,administrativeBoundaries,barrios,border,Borders,boundariesAdministrative,canton,cantons,colony,Counties,countries,county,Countyline,distirct,district,Districts,emirates,lgas,Macroregions,nations,precinct,precincts,Prefectures,province,Provinces,Redistrict,sovereignties,subdistricts,Subdivision,subdivisions,submunicipalities,subregions
112
+
113
+ Politics, government,commonwealth,Congress,Congressional,constituency,councils,deregulation,election,Elections,Elections--Massachusetts,Electoral,embassies,Governates,Government,legislation,Legislative,Legislators,Legislature,Parliament,political,Politics,Regulation,republic,republics,Senate,States,vote,Voting
114
+
115
+ Machinery,mechanical,Tractors
116
+
117
+ Cities,towns,borough,Boroughs,Cities,hamlets,Municipalities,municipality,municipality,municipios,suburbs,Town,Townlands,towns,towns/ville,Villages,ville
118
+
119
+ Hydrocarbons,CNG,Coal,ethanol,gas,gasoline,kerosene,LNG,oil,OPEC,petrol,Petroleum,propane
120
+
121
+ Indigenous peoples,tribes
122
+
123
+ Land cover,brush,Plants,Caves,Cliffs,continents,coves,Desert,Atmosphere,Deserts,earthCover,Fields,Gorges,Grassland,Plants,Grasslands,Plants,Heathlands,Plants,island,Islands,Landcover,Landform,Landforms,Landscape,Landscapes,meadow,palisade,plain,plains,Prairies,tundra,Tundras,Wilderness
124
+
125
+ Harbors,Pier,Quay,Warf
126
+
127
+ Automobile parking,Parking
128
+
129
+ Plants,eelgrass,gardens,Agriculture,Plants,seagrass,Vegetation
130
+
131
+ Buildings,building,Buildings,Buildingsr,castles,Chimneys,Decks,garage,garages,halls,Hotels,mansions,office,Porches,rooftop,stories
132
+
133
+ Industries,chemists,Factories,Buildings,Factory,Buildings,industrial,industries,industry,Iron-works,Manufacture,refineries
134
+
135
+ Mines,mineral resources,Mineral,Geology,minerals,Geology,Mines,mining,prospects,quarries,Quarry,USBM
136
+
137
+ inlandWaters,Rivers,brook,Hydrology,brooks,Hydrology,creek,Hydrology,Creeks,Hydrology,falls,Rapids,river,Hydrology,river/fleuve,Hydrology,riverbeds,Riverine,Riverline,rivers,Hydrology,rivulet,Hydrology,runs,stream,Hydrology,streambed,Streambeds,Streamflow,streams,Hydrology,streamways,tributary,Hydrology,Wadies,Hydrology,Waterfall,Waterfalls
138
+
139
+ Invertebrates,Lobsters,Mosquitoes,Shellfish
140
+
141
+ Food,burgers,Food,hamburgers,restaurants,Commerce,supermarket,Commerce
142
+
143
+ Cryosphere,Glaciers,Geology,Ice,Icebergs,Nunataks,Geology,permafrost,Snow,Atmosphere,Snowsheds
144
+
145
+ Bicycles,Bicycle,Bike
146
+
147
+ Postal service,address,Roads,addresses,Roads,CEP8,mail,PLZgrenzen,postal,postcodes,zip,zip+4,zipcode,zipcodes
148
+
149
+ Human settlements,condominiums,Dormitories,Dwellings,homelessness,homes,Huts,inhabitancy,Neighborhood,Neighborhoods,residences,Settlement,settlements,squatters
150
+
151
+ Sewerage,drains,manhole,Manholes,sewage,Sewer,Sewerage,Sewer-pipe,Sewers
152
+
153
+ Fishes,Anadromous,Fish,Fisheries,Fishing,Oncorhynchus,Spawn,Wildlife/Fisheries
154
+
155
+ Territories, possessions,Annexation,Annexations,territories,territory
156
+
157
+ Electric power systems,biodiesel,Electric,electricity,energy,fuel,Fuels,Generators,hydrogen,megawatt-hours,MWh,Power-plants,Substation,substations,Windmills
158
+
@@ -0,0 +1,120 @@
1
+ # The ASF licenses this file to You under the Apache License, Version 2.0
2
+ # (the "License"); you may not use this file except in compliance with
3
+ # the License. You may obtain a copy of the License at
4
+ #
5
+ # http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software
8
+ # distributed under the License is distributed on an "AS IS" BASIS,
9
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ # See the License for the specific language governing permissions and
11
+ # limitations under the License.
12
+
13
+ #-----------------------------------------------------------------------
14
+ #some test synonym mappings unlikely to appear in real input text
15
+ aaafoo => aaabar
16
+ bbbfoo => bbbfoo bbbbar
17
+ cccfoo => cccbar cccbaz
18
+ fooaaa,baraaa,bazaaa
19
+
20
+ # Some synonym groups specific to this example
21
+ GB,gib,gigabyte,gigabytes
22
+ MB,mib,megabyte,megabytes
23
+ Television, Televisions, TV, TVs
24
+ #notice we use "gib" instead of "GiB" so any WordDelimiterFilter coming
25
+ #after us won't split it into two words.
26
+
27
+ # Synonym mappings can be used for spelling correction too
28
+ pixima => pixma
29
+
30
+ a\,a => b\,b
31
+
32
+ Harbors,Pier,Quay,Warf
33
+
34
+ Hydrocarbons,CNG,Coal,ethanol,gas,gasoline,kerosene,LNG,oil,OPEC,petrol,Petroleum,propane
35
+
36
+ Walls,Fences,Fortification,fortresses,Gates,Hedges,Seawall,Wall,Walls
37
+
38
+ Roads,arteries,automobiles,Avenue,Avenues,beltways,Boulevards,driveways,expressway,expressways,Freeways,highway,highways,intersections,interstate,interstates,lanes,motorways,road,Roadblocks,Roads,Roadways,route,Routes,Speedlimits,Street,Streets,Thoroughfares,Tollbooths,way
39
+
40
+ Schools,academies,College,colleges,colleges/universities,Education,preschool,preschools,school,Schools,universities,university,University/Colleges
41
+
42
+ Pedestrians,Curbs,Roads,Footpaths,handicap,Pavements,Pedestrian,sidewalk,Sidewalks,walk,Walking,Walkways
43
+
44
+ Atmosphere,Air,Atmosphere,climate,Climatology,climatologymeteorology,Cloudiness,Clouds,Evapotrans,Evapotranspiration,haze,humidity,hurricane,Isohyets,Meteorological,Meteorology,Precipitation,Rain,rainfall,Sunshine,temperature,weather,wind
45
+
46
+ Altitudes,Altitude,Altitudes,Aspect,bathymetry,breaklines,contour,Contours,DEM,depths,DTM,echosounder,elevations,GTOPO30,highpoint,hillshaded,Hypsography,ruggedness,SRTM,terrain,topographic,topography,Topoquads
47
+
48
+ History,ancestry,Historic,historical,History,Memorial,Memorials,Ruins
49
+
50
+ Industries,chemists,Factories,Buildings,Factory,Buildings,industrial,industries,industry,Iron-works,Manufacture,refineries
51
+
52
+ Water-supply,Drinking,Water-pipes,Water-supply,Waterworks
53
+
54
+ watersheds,catchments,hydrology,drainage,hydrology,drainages,hydrology,watershed,hydrology
55
+
56
+ fishes,anadromous,fish,fisheries,fishing,oncorhynchus,spawn,
57
+
58
+ census,ageb,cbsa,census
59
+
60
+ mountains,hill,hills,mount,mountain,mountains,peak,peaks,ridge,ridgelines,geology,summit
61
+
62
+ bicycles,bicycle,bike
63
+
64
+ sewerage,drains,manhole,manholes,sewage,sewer,sewerage,sewer-pipe,sewers
65
+
66
+ invertebrates,lobsters,mosquitoes,shellfish
67
+
68
+ floods,dfirm,finance,flood,flooding,floodplains,watersheds,floods,floodwalls,walls,floodway,nfip,finance,sfha
69
+
70
+ agriculture,agricultural,agriculture,appellation,commerce,broilers,calves,cattle,chickens,corn,cotton,cranberies,food,cranberries,food,cranberry,food,croplands,crops,farm,farming,farms,fertilizers,grazing,herbicide,livestock,orchards,pesticide,plantations,poultry,rice,soybeans,vegetables,viticulture,wheat,wine,food,wineries,food
71
+
72
+ hydrology,fwhydrography,hydrographic,hydrography,hydrologic,hydrological,hydrology,runoff,water-holes
73
+
74
+ buildings,building,buildings,buildingsr,castles,chimneys,decks,garage,garages,halls,hotels,mansions,porches,rooftop,stories
75
+
76
+ buses,bus,buses,ctran,grta
77
+
78
+ geology,bedrock,erosion,eruptions,eskers,cryosphere,faults,fjords,cryosphere,geology,geomorphology,geoscience,isopach,kettlehole,cryosphere,landslides,lava,lithology,petrology,rocks,volcanoes
79
+
80
+ demography,births,caste,citizenship,deaths,demographic,demographics,demography,ethnicity,family,females,fertility,foreign-born,household,households,illiteracy,schools,language,languages,literacy,males,minorities,mortality,multilingualism,people,population,populations,unemployment,finance
81
+
82
+ machinery,mechanical,tractors
83
+
84
+ wetlands,bog
85
+
86
+ food,burgers,food,hamburgers,restaurants,commerce,supermarket,commerce
87
+
88
+ coasts,accretion,geology,beach,beaches,breakwater,capes,coast,coastal,coastline,coastlines,coasts,intracoastal,isthmus,isthmuses,nearshore,peninsula,peninsulas,seashore,seashores,shore,shoreline,shorelines,spit
89
+
90
+ cryosphere,glaciers,geology,ice,icebergs,nunataks,geology,permafrost,snow,atmosphere,snowsheds
91
+
92
+ groundwater,aquifers,geology,groundwater,geology,oases,springs,geology
93
+
94
+ youth,child,children,teen,youth
95
+
96
+ plants,eelgrass,gardens,agriculture,plants,seagrass,vegetation
97
+
98
+ earthquakes,earthquakes,geology,magnitude,geology,magnitudes,geology,paleoseismology,geology,seismology,geology
99
+
100
+ recreation,amphitheaters,amphitheatre,aquariums,arenas,athletics,auditoriums,ballfields,campgrounds,casinos,cinemas,clubs,entertainment,exhibitions,golf,hiking,mountaineering,nightclubs,nightlife,opera,play,playground,playgrounds,racetracks,racing,rail-trails,railroads,recreation,regattas,resorts,rinks,speedways,sports,stadium,stadiums,swimming,tennis,theaters,theatres,trail,trails,venues,yachts,ymcas,zoos
101
+
102
+ photography,landsat,naturalvue,ortho,orthoimagery,ortho-imagery,orthophoto,orthophotography,othophoto
103
+
104
+ telecommunication,broadcasting,cable,celltowers,telecommunication,telecommunications,telegraph,telephone,telephones,television
105
+
106
+ railroads,amtrak,fixed-guideway,lirr,metro,metros,monorail,rail,railroad,railroads,rails,railway,railways,railyards,street-railroads,subway,subways,train,trains
107
+
108
+ airports,aircraft,airfield,airfields,airlines,airplanes,airstrips,enplanements,helicopters,icao,runway,runways
109
+
110
+ pollution,contaminant,contamination,fouling,atmosphere,nox,atmosphere,ozone,atmosphere,pm10,atmosphere,pollutants,pollution,reclamation,smokestacks,sox,atmosphere
111
+
112
+ commerce,billboards,businesses,industries,cargo,commerce,commercial,companies,industries,containerization,currencies,customers,employment,freeports,harbors,freight,imports,malls,marketing,markets,occupations,pricing,purchases,rates,retail,revenues,sales,shipping,shops,trade
113
+
114
+ rivers,brook,hydrology,brooks,hydrology,creek,hydrology,creeks,hydrology,falls,rapids,river,hydrology,hydrology,riverbeds,riverine,riverline,rivers,hydrology,rivulet,hydrology,runs,stream,hydrology,streambed,streambeds,streamflow,streams,hydrology,streamways,tributary,hydrology,wadies,hydrology,waterfall,waterfalls
115
+
116
+ archaeology,antiquities,relics
117
+
118
+ finance,atms,bank,banks,finance,income,insurance,tax,taxation,taxes
119
+
120
+ crises,disaster
@@ -0,0 +1,105 @@
1
+ Alabama ,AL ,Ala ,Ala
2
+
3
+ Alaska ,AK ,Alaska ,Alas
4
+
5
+ Arizona ,AZ ,Ariz ,Ariz
6
+
7
+ Arkansas ,AR ,Ark ,Ark
8
+
9
+ California ,CA ,Calif ,Calif
10
+
11
+ Colorado ,CO ,Colo ,Colo
12
+
13
+ Connecticut ,CT ,Conn ,Conn
14
+
15
+ Delaware ,DE ,Del ,Del
16
+
17
+ District of Columbia ,DC ,DC ,DC
18
+
19
+ Florida ,FL ,Fla ,Fla
20
+
21
+ Georgia ,GA ,Ga ,Ga
22
+
23
+ Hawaii ,HI ,Hawaii ,Hawaii
24
+
25
+ Idaho ,ID ,Idaho ,Idaho
26
+
27
+ Illinois ,IL ,Ill ,Ill
28
+
29
+ Indiana ,IN ,Ind ,Ind
30
+
31
+ Iowa ,IA ,Iowa ,Iowa
32
+
33
+ Kansas ,KS ,Kans ,Kan
34
+
35
+ Kentucky ,KY ,Ky ,Ky
36
+
37
+ Louisiana ,LA ,La ,La
38
+
39
+ Maine ,ME ,Maine ,Maine
40
+
41
+ Maryland ,MD ,Md ,Md
42
+
43
+ Massachusetts ,MA ,Mass ,Mass
44
+
45
+ Michigan ,MI ,Mich ,Mich
46
+
47
+ Minnesota ,MN ,Minn ,Minn
48
+
49
+ Mississippi ,MS ,Miss ,Miss
50
+
51
+ Missouri ,MO ,Mo ,Mo
52
+
53
+ Montana ,MT ,Mont ,Mont
54
+
55
+ Nebraska ,NE ,Nebr ,Neb
56
+
57
+ Nevada ,NV ,Nev ,Nev
58
+
59
+ New Hampshire ,NH ,NH ,NH
60
+
61
+ New Jersey ,NJ ,NJ ,NJ
62
+
63
+ New Mexico ,NM ,N Mex ,NM
64
+
65
+ New York ,NY ,NY ,NY
66
+
67
+ North Carolina ,NC ,NC ,N Car
68
+
69
+ North Dakota ,ND ,N Dak ,ND
70
+
71
+ Ohio ,OH ,Ohio ,Ohio
72
+
73
+ Oklahoma ,OK ,Okla ,Okla
74
+
75
+ Oregon ,OR ,Oreg ,Ore
76
+
77
+ Pennsylvania ,PA ,Pa ,Penn
78
+
79
+ Rhode Island ,RI ,RI ,RI
80
+
81
+ South Carolina ,SC ,SC ,S Car
82
+
83
+ South Dakota ,SD ,S Dak ,SD
84
+
85
+ Tennessee ,TN ,Tenn ,Tenn
86
+
87
+ Texas ,TX ,Tex ,Texas
88
+
89
+ Utah ,UT ,Utah ,Utah
90
+
91
+ Vermont ,VT ,Vt ,Vt
92
+
93
+ Virginia ,VA ,Va ,Virg
94
+
95
+ Washington ,WA ,Wash ,Wash
96
+
97
+ West Virginia ,WV ,W Va ,WVa
98
+
99
+ Wisconsin ,WI ,Wis ,Wisc
100
+
101
+ Wyoming ,WY ,Wyo ,Wyo
102
+
103
+ Puerto Rico,PR,PR,
104
+
105
+
@@ -0,0 +1,53 @@
1
+ /*
2
+ This is a basic skeleton JavaScript update processor.
3
+
4
+ In order for this to be executed, it must be properly wired into solrconfig.xml; by default it is commented out in
5
+ the example solrconfig.xml and must be uncommented to be enabled.
6
+
7
+ See http://wiki.apache.org/solr/ScriptUpdateProcessor for more details.
8
+ */
9
+
10
+ function processAdd(cmd) {
11
+
12
+ doc = cmd.solrDoc; // org.apache.solr.common.SolrInputDocument
13
+ id = doc.getFieldValue("id");
14
+ logger.info("update-script#processAdd: id=" + id);
15
+
16
+ // Set a field value:
17
+ // doc.setField("foo_s", "whatever");
18
+
19
+ // Get a configuration parameter:
20
+ // config_param = params.get('config_param'); // "params" only exists if processor configured with <lst name="params">
21
+
22
+ // Get a request parameter:
23
+ // some_param = req.getParams().get("some_param")
24
+
25
+ // Add a field of field names that match a pattern:
26
+ // - Potentially useful to determine the fields/attributes represented in a result set, via faceting on field_name_ss
27
+ // field_names = doc.getFieldNames().toArray();
28
+ // for(i=0; i < field_names.length; i++) {
29
+ // field_name = field_names[i];
30
+ // if (/attr_.*/.test(field_name)) { doc.addField("attribute_ss", field_names[i]); }
31
+ // }
32
+
33
+ }
34
+
35
+ function processDelete(cmd) {
36
+ // no-op
37
+ }
38
+
39
+ function processMergeIndexes(cmd) {
40
+ // no-op
41
+ }
42
+
43
+ function processCommit(cmd) {
44
+ // no-op
45
+ }
46
+
47
+ function processRollback(cmd) {
48
+ // no-op
49
+ }
50
+
51
+ function finish() {
52
+ // no-op
53
+ }