arclight 0.1.4 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. checksums.yaml +5 -5
  2. data/.all-contributorsrc +450 -0
  3. data/.babelrc +3 -0
  4. data/.codeclimate.yml +5 -0
  5. data/.eslintrc +3 -0
  6. data/.gitignore +1 -0
  7. data/.rubocop.yml +20 -42
  8. data/.rubocop_todo.yml +139 -0
  9. data/.travis.yml +24 -20
  10. data/CONTRIBUTORS.md +79 -0
  11. data/README.md +34 -23
  12. data/Rakefile +0 -1
  13. data/app/assets/images/blacklight/bookmark.svg +1 -0
  14. data/app/assets/images/blacklight/collection.svg +5 -0
  15. data/app/assets/images/blacklight/compact.svg +1 -25
  16. data/app/assets/images/blacklight/container.svg +5 -0
  17. data/app/assets/images/blacklight/ead.svg +1 -0
  18. data/app/assets/images/blacklight/file.svg +5 -0
  19. data/app/assets/images/blacklight/folder.svg +1 -0
  20. data/app/assets/images/blacklight/list.svg +1 -0
  21. data/app/assets/images/blacklight/minus.svg +1 -0
  22. data/app/assets/images/blacklight/online.svg +5 -0
  23. data/app/assets/images/blacklight/pdf.svg +1 -0
  24. data/app/assets/images/blacklight/plus.svg +1 -0
  25. data/app/assets/images/blacklight/repository.svg +1 -0
  26. data/app/assets/javascripts/arclight/arclight.js +1 -2
  27. data/app/assets/javascripts/arclight/collection_navigation.js +36 -50
  28. data/app/assets/javascripts/arclight/collection_scrollspy.js +1 -1
  29. data/app/assets/javascripts/arclight/context_navigation.js +386 -0
  30. data/app/assets/javascripts/arclight/oembed_viewer.js +11 -4
  31. data/app/assets/javascripts/arclight/truncator.js.erb +8 -2
  32. data/app/assets/stylesheets/arclight/application.scss +4 -1
  33. data/app/assets/stylesheets/arclight/bootstrap_overrides.scss +23 -0
  34. data/app/assets/stylesheets/arclight/modules/context_navigation.scss +75 -0
  35. data/app/assets/stylesheets/arclight/modules/hierarchy_and_online_contents.scss +34 -38
  36. data/app/assets/stylesheets/arclight/modules/highlights.scss +2 -1
  37. data/app/assets/stylesheets/arclight/modules/icons.scss +4 -0
  38. data/app/assets/stylesheets/arclight/modules/layout.scss +149 -11
  39. data/app/assets/stylesheets/arclight/modules/mastheads.scss +60 -5
  40. data/app/assets/stylesheets/arclight/modules/repositories.scss +1 -5
  41. data/app/assets/stylesheets/arclight/modules/repository_card.scss +6 -7
  42. data/app/assets/stylesheets/arclight/modules/search_results.scss +145 -24
  43. data/app/assets/stylesheets/arclight/modules/show_collection.scss +38 -59
  44. data/app/assets/stylesheets/arclight/responsive.scss +13 -0
  45. data/app/assets/stylesheets/arclight/variables.scss +21 -1
  46. data/app/controllers/concerns/arclight/ead_format_helpers.rb +225 -0
  47. data/app/controllers/concerns/arclight/field_config_helpers.rb +23 -7
  48. data/app/factories/blacklight_field_configuration_factory.rb +1 -0
  49. data/app/helpers/arclight_helper.rb +198 -36
  50. data/app/models/arclight/document_downloads.rb +125 -0
  51. data/app/models/arclight/parent.rb +4 -2
  52. data/app/models/arclight/parents.rb +6 -4
  53. data/app/models/arclight/requests/aeon_external_request.rb +42 -0
  54. data/app/models/arclight/requests/aeon_web_ead.rb +47 -0
  55. data/app/models/arclight/requests/google_form.rb +2 -2
  56. data/app/models/concerns/arclight/catalog.rb +14 -2
  57. data/app/models/concerns/arclight/search_behavior.rb +27 -12
  58. data/app/models/concerns/arclight/solr_document.rb +29 -7
  59. data/app/views/arclight/_requests.html.erb +7 -0
  60. data/app/views/arclight/repositories/_in_person_repository.html.erb +2 -2
  61. data/app/views/arclight/repositories/_repository.html.erb +2 -2
  62. data/app/views/arclight/repositories/_repository_contact.html.erb +9 -0
  63. data/app/views/arclight/repositories/index.html.erb +3 -0
  64. data/app/views/arclight/repositories/show.html.erb +5 -4
  65. data/app/views/arclight/requests/_aeon_external_request_endpoint.html.erb +9 -0
  66. data/app/views/arclight/requests/_aeon_web_ead.html.erb +7 -0
  67. data/app/views/arclight/requests/_google_form.html.erb +2 -1
  68. data/app/views/arclight/viewers/_oembed.html.erb +2 -1
  69. data/app/views/catalog/_access_contents.html.erb +15 -0
  70. data/app/views/catalog/_arclight_abstract_or_scope.html.erb +5 -0
  71. data/app/views/catalog/_arclight_bookmark_control.html.erb +38 -0
  72. data/app/views/catalog/_arclight_document_header_icon.html.erb +1 -0
  73. data/app/views/catalog/_arclight_index_compact_default.html.erb +18 -11
  74. data/app/views/catalog/_arclight_index_default.html.erb +45 -0
  75. data/app/views/catalog/_arclight_index_group_document_compact_default.html.erb +19 -0
  76. data/app/views/catalog/_arclight_index_group_document_default.html.erb +18 -0
  77. data/app/views/catalog/_arclight_online_content_indicator.html.erb +1 -3
  78. data/app/views/catalog/_collection_contents.html.erb +2 -10
  79. data/app/views/catalog/_collection_context.html.erb +15 -0
  80. data/app/views/catalog/_collection_context_nav.html.erb +12 -0
  81. data/app/views/catalog/_collection_online_contents.html.erb +3 -3
  82. data/app/views/catalog/_component_context.html.erb +5 -0
  83. data/app/views/catalog/_containers.html.erb +3 -0
  84. data/app/views/catalog/_context_card.html.erb +1 -1
  85. data/app/views/catalog/_context_sidebar.html.erb +2 -2
  86. data/app/views/catalog/_custom_metadata.html.erb +1 -1
  87. data/app/views/catalog/_document_downloads.html.erb +14 -0
  88. data/app/views/catalog/_group.html.erb +21 -0
  89. data/app/views/catalog/_group_header_compact_default.html.erb +15 -0
  90. data/app/views/catalog/_group_header_default.html.erb +20 -0
  91. data/app/views/catalog/_group_toggle.html.erb +10 -0
  92. data/app/views/catalog/_home.html.erb +1 -1
  93. data/app/views/catalog/_index_breadcrumb_default.html.erb +5 -2
  94. data/app/views/catalog/_index_collection_context_default.html.erb +53 -0
  95. data/app/views/catalog/_index_default.html.erb +1 -1
  96. data/app/views/catalog/_index_header.html.erb +3 -3
  97. data/app/views/catalog/_index_online_contents_default.html.erb +1 -1
  98. data/app/views/catalog/_online_content_label.html.erb +5 -0
  99. data/app/views/catalog/_search_form.html.erb +34 -0
  100. data/app/views/catalog/_search_results.html.erb +1 -4
  101. data/app/views/catalog/_show_actions_box_default.html.erb +27 -0
  102. data/app/views/catalog/_show_breadcrumbs_default.html.erb +5 -6
  103. data/app/views/catalog/_show_collection.html.erb +42 -24
  104. data/app/views/catalog/_show_default.html.erb +64 -26
  105. data/app/views/catalog/_show_upper_metadata_collection.html.erb +1 -0
  106. data/app/views/catalog/_show_upper_metadata_default.html.erb +14 -0
  107. data/app/views/catalog/_sort_and_per_page.html.erb +8 -0
  108. data/app/views/catalog/_within_collection_dropdown.html.erb +26 -0
  109. data/app/views/shared/_breadcrumbs.html.erb +4 -4
  110. data/app/views/shared/_context_sidebar.html.erb +2 -2
  111. data/app/views/shared/_header_navbar.html.erb +51 -43
  112. data/app/views/shared/_main_menu_links.html.erb +1 -1
  113. data/app/views/shared/_show_breadcrumbs.html.erb +27 -0
  114. data/arclight.gemspec +15 -12
  115. data/config/i18n-tasks.yml +133 -0
  116. data/config/locales/arclight.en.yml +89 -55
  117. data/config/repositories.yml +0 -0
  118. data/lib/arclight/engine.rb +23 -12
  119. data/lib/arclight/hash_absolute_xpath.rb +61 -0
  120. data/lib/arclight/level_label.rb +46 -0
  121. data/lib/arclight/missing_id_strategy.rb +21 -0
  122. data/lib/arclight/normalized_date.rb +21 -12
  123. data/lib/arclight/normalized_id.rb +1 -0
  124. data/lib/arclight/normalized_title.rb +1 -0
  125. data/lib/arclight/repository.rb +61 -25
  126. data/lib/arclight/traject/ead2_config.rb +495 -0
  127. data/lib/arclight/traject/nokogiri_namespaceless_reader.rb +22 -0
  128. data/lib/arclight/version.rb +1 -1
  129. data/lib/arclight/viewers/oembed.rb +1 -0
  130. data/lib/arclight/year_range.rb +9 -1
  131. data/lib/generators/arclight/install_generator.rb +34 -3
  132. data/lib/generators/arclight/templates/catalog_controller.rb +162 -131
  133. data/lib/generators/arclight/templates/config/downloads.yml +12 -0
  134. data/lib/generators/arclight/templates/config/repositories.yml +20 -2
  135. data/lib/generators/arclight/update_generator.rb +1 -1
  136. data/lib/tasks/index.rake +19 -19
  137. data/package.json +8 -1
  138. data/solr/conf/schema.xml +56 -292
  139. data/solr/conf/solrconfig.xml +40 -125
  140. data/tasks/arclight.rake +6 -1
  141. data/template.rb +1 -1
  142. data/vendor/assets/javascripts/responsiveTruncator.js +2 -2
  143. metadata +159 -60
  144. data/app/assets/javascripts/arclight/collection_context.js +0 -18
  145. data/app/assets/javascripts/arclight/component_ancestors.js +0 -56
  146. data/app/assets/stylesheets/arclight/modules/sidebar.scss +0 -21
  147. data/app/views/catalog/_arclight_document_show_header.html.erb +0 -15
  148. data/app/views/catalog/_arclight_document_show_header_collection.html.erb +0 -12
  149. data/app/views/catalog/_collection_count.html.erb +0 -7
  150. data/app/views/catalog/_collection_downloads.html.erb +0 -15
  151. data/app/views/catalog/_collection_overview.html.erb +0 -7
  152. data/app/views/catalog/_component_overview.html.erb +0 -46
  153. data/app/views/catalog/_index_header_hierarchy_default.html.erb +0 -42
  154. data/app/views/catalog/_index_hierarchy_default.html.erb +0 -28
  155. data/app/views/catalog/_results_histogram.html.erb +0 -10
  156. data/app/views/catalog/_search_within_form.html.erb +0 -16
  157. data/app/views/catalog/_show_component_sidebar.html.erb +0 -12
  158. data/app/views/catalog/_show_header.html.erb +0 -5
  159. data/app/views/catalog/_show_sidebar.html.erb +0 -30
  160. data/lib/arclight/custom_component.rb +0 -99
  161. data/lib/arclight/custom_document.rb +0 -93
  162. data/lib/arclight/indexer.rb +0 -9
  163. data/lib/arclight/shared_indexing_behavior.rb +0 -97
  164. data/lib/arclight/shared_terminology_behavior.rb +0 -65
  165. data/lib/arclight/solr_ead_indexer_ext.rb +0 -159
  166. data/lib/generators/arclight/templates/arclight.js +0 -2
@@ -3,6 +3,11 @@
3
3
  # provide the PDF and/or EAD (.xml) links. The
4
4
  # size value should be a String (shown as-is) or
5
5
  # the number of bytes in the download.
6
+ # - Pass a template key to use a formatted string
7
+ # which interpolates document accessors into the
8
+ # url using the %{accessor} syntax.
9
+ # - Pass a size_accessor key to pull the size of
10
+ # the file from an accessor in the solr document
6
11
  #
7
12
  sample_unitid:
8
13
  pdf:
@@ -11,3 +16,10 @@ sample_unitid:
11
16
  ead:
12
17
  href: 'http://example.com/sample.xml'
13
18
  size: 123456
19
+ # size_accessor: 'level'
20
+ default:
21
+ disabled: true
22
+ pdf:
23
+ template: 'http://example.com/%{unitid}.pdf'
24
+ ead:
25
+ template: 'http://example.com/%{unitid}.xml'
@@ -11,8 +11,10 @@ nlm:
11
11
  phone: ''
12
12
  contact_info: 'hmdref@nlm.nih.gov'
13
13
  thumbnail_url: "https://collections.nlm.nih.gov/pageturnerserver/ajaxp?theurl=http://localhost:8080/fedora/get/nlm:nlmuid-101421040-img/THUMB"
14
- google_request_url: 'https://docs.google.com/a/stanford.edu/forms/d/e/1FAIpQLSeOamhY_IcFw4sPnz0ddwWWkrPaHbM5wp7JVbOLOL_mIusEyw/viewform'
15
- google_request_mappings: "document_url=entry.1980510262&collection_name=entry.619150170&collection_creator=entry.14428541&eadid=entry.996397105&containers=entry.1125277048&title=entry.862815208"
14
+ request_types:
15
+ google_form:
16
+ request_url: 'https://docs.google.com/a/stanford.edu/forms/d/e/1FAIpQLSeOamhY_IcFw4sPnz0ddwWWkrPaHbM5wp7JVbOLOL_mIusEyw/viewform'
17
+ request_mappings: "document_url=entry.1980510262&collection_name=entry.619150170&collection_creator=entry.14428541&eadid=entry.996397105&containers=entry.1125277048&title=entry.862815208"
16
18
  sul-spec:
17
19
  name: 'Stanford University Libraries. Special Collections and University Archives'
18
20
  visit_note: 'Special Collections and University Archives materials are stored offsite and must be paged 36 hours in advance.'
@@ -27,6 +29,10 @@ sul-spec:
27
29
  phone: '(650) 725-1022'
28
30
  contact_info: 'specialcollections@stanford.edu'
29
31
  thumbnail_url: 'https://library.stanford.edu/sites/default/files/styles/150x150/public/collection/image/Collections-Super-Enlight.jpg'
32
+ request_types:
33
+ aeon_web_ead:
34
+ request_url: 'https://sample.request.com'
35
+ request_mappings: 'Action=10&Form=31&Value=ead_url'
30
36
  umich-bhl:
31
37
  name: 'University of Michigan. Bentley Historical Library'
32
38
  description: 'The Bentley Historical Library collects the materials for and promotes the study of the histories of two great, intertwined institutions, the State of Michigan and the University of Michigan. The Library is open without fee to the public, and we welcome researchers regardless of academic or professional affiliation.'
@@ -40,3 +46,15 @@ umich-bhl:
40
46
  phone: ''
41
47
  contact_info: 'bentley.ref@umich.edu'
42
48
  thumbnail_url: 'https://upload.wikimedia.org/wikipedia/commons/thumb/9/93/Bhlexterior.jpg/150px-Bhlexterior.jpg'
49
+ request_types:
50
+ aeon_external_request_endpoint:
51
+ request_url: https://example.com/aeon/aeon.dll
52
+ request_mappings:
53
+ url_params:
54
+ Action: 11
55
+ Type: 200
56
+ static:
57
+ SystemId: ArcLight
58
+ ItemInfo1: manuscript
59
+ accessor:
60
+ ItemTitle: collection_name
@@ -9,7 +9,7 @@ module Arclight
9
9
  # downstream application to choose if they want to take our changes or not and
10
10
  # can choose to see a diff of our changes to help them decide.
11
11
  class Update < Arclight::Install
12
- source_root File.expand_path('../templates', __FILE__)
12
+ source_root File.expand_path('templates', __dir__)
13
13
 
14
14
  def create_blacklight_catalog
15
15
  copy_file 'catalog_controller.rb', 'app/controllers/catalog_controller.rb'
@@ -4,7 +4,7 @@ require 'arclight'
4
4
  require 'benchmark'
5
5
 
6
6
  ##
7
- # Environment variables for indexing:
7
+ # Environment variables and information for indexing:
8
8
  #
9
9
  # REPOSITORY_ID for the repository id/slug to load repository data from
10
10
  # your configuration (default: none).
@@ -12,22 +12,31 @@ require 'benchmark'
12
12
  # REPOSITORY_FILE for the YAML file of your repository configuration
13
13
  # (default: config/repositories.yml).
14
14
  #
15
- # SOLR_URL for the location of your Solr instance
15
+ # Blacklight default connection for the location of your Solr instance, SOLR_URL
16
+ # as a backup
16
17
  # (default: http://127.0.0.1:8983/solr/blacklight-core)
17
18
  #
18
19
  namespace :arclight do
19
20
  desc 'Index an EAD document, use FILE=<path/to/ead.xml> and REPOSITORY_ID=<myid>'
20
21
  task :index do
21
22
  raise 'Please specify your EAD document, ex. FILE=<path/to/ead.xml>' unless ENV['FILE']
22
- indexer = load_indexer
23
+
23
24
  print "Loading #{ENV['FILE']} into index...\n"
24
- elapsed_time = Benchmark.realtime { indexer.update(ENV['FILE']) }
25
+ solr_url = begin
26
+ Blacklight.default_index.connection.base_uri
27
+ rescue StandardError
28
+ ENV['SOLR_URL'] || 'http://127.0.0.1:8983/solr/blacklight-core'
29
+ end
30
+ elapsed_time = Benchmark.realtime {
31
+ `bundle exec traject -u #{solr_url} -i xml -c #{Arclight::Engine.root}/lib/arclight/traject/ead2_config.rb #{ENV['FILE']}`
32
+ }
25
33
  print "Indexed #{ENV['FILE']} (in #{elapsed_time.round(3)} secs).\n"
26
34
  end
27
35
 
28
36
  desc 'Index a directory of EADs, use DIR=<path/to/directory> and REPOSITORY_ID=<myid>'
29
37
  task :index_dir do
30
38
  raise 'Please specify your directory, ex. DIR=<path/to/directory>' unless ENV['DIR']
39
+
31
40
  Dir.glob(File.join(ENV['DIR'], '*.xml')).each do |file|
32
41
  system("rake arclight:index FILE=#{file}")
33
42
  end
@@ -36,6 +45,7 @@ namespace :arclight do
36
45
  desc 'Index an EAD document, use URL=<http[s]://domain/path/to/ead.xml> and REPOSITORY_ID=<myid>'
37
46
  task :index_url do
38
47
  raise 'Please specify your EAD document, ex. URL=<http[s]://domain/path/to/ead.xml>' unless ENV['URL']
48
+
39
49
  ead = Nokogiri::XML(open(ENV['URL']))
40
50
  tmp = Tempfile.new(["#{Time.now.to_i}-", '.xml'], encoding: 'utf-8')
41
51
  begin
@@ -53,9 +63,11 @@ namespace :arclight do
53
63
  desc 'Index EADs from a file of URLs, use BATCH=<path/to/urls.txt> and REPOSITORY_ID=<myid>'
54
64
  task :index_url_batch do
55
65
  raise 'Please specify your URLs file, ex. BATCH=<path/to/urls.txt>' unless ENV['BATCH']
66
+
56
67
  File.open(ENV['BATCH']).each_line do |l|
57
68
  ENV['URL'] = l.chomp
58
69
  next if ENV['URL'].empty?
70
+
59
71
  unless ENV['URL'] =~ /\A#{URI.regexp(%w[http https])}\z/
60
72
  puts "Skipping invalid looking url #{ENV['URL']}"
61
73
  next
@@ -67,21 +79,9 @@ namespace :arclight do
67
79
  end
68
80
 
69
81
  desc 'Destroy all documents in the index'
70
- task :destroy_index_docs do
82
+ task destroy_index_docs: :environment do
71
83
  puts 'Deleting all documents from index...'
72
- indexer = load_indexer
73
- indexer.delete_all
84
+ Blacklight.default_index.connection.delete_by_query('*:*')
85
+ Blacklight.default_index.connection.commit
74
86
  end
75
87
  end
76
-
77
- def load_indexer
78
- # hardcoded since we don't have access to Blacklight.connection_config[:url] here
79
- ENV['SOLR_URL'] ||= 'http://127.0.0.1:8983/solr/blacklight-core'
80
-
81
- options = {
82
- document: Arclight::CustomDocument,
83
- component: Arclight::CustomComponent
84
- }
85
-
86
- Arclight::Indexer.new(options)
87
- end
@@ -2,13 +2,20 @@
2
2
  "name": "arclight",
3
3
  "description": "",
4
4
  "main": "index.js",
5
- "dependencies": {},
5
+ "dependencies": {
6
+ "@babel/core": "^7.5.5",
7
+ "@babel/plugin-external-helpers": "^7.2.0",
8
+ "@babel/plugin-transform-modules-umd": "^7.2.0",
9
+ "@babel/preset-env": "^7.5.5"
10
+ },
6
11
  "devDependencies": {
7
12
  "eslint": "^3.19.0",
8
13
  "eslint-config-airbnb-base": "^11.1.3",
9
14
  "eslint-plugin-import": "^2.2.0"
10
15
  },
11
16
  "scripts": {
17
+ "lint": "eslint './app/assets/javascripts/**/*.{js,es6}'",
18
+ "lint:fix": "eslint --fix './app/assets/javascripts/**/*.{js,es6}'",
12
19
  "test": "echo \"Error: no test specified\" && exit 1"
13
20
  },
14
21
  "repository": {
@@ -67,7 +67,7 @@
67
67
  -->
68
68
 
69
69
  <!-- The StrField type is not analyzed, but indexed/stored verbatim. -->
70
- <fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/>
70
+ <fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true" docValues="true"/>
71
71
 
72
72
  <!-- boolean type: "true" or "false" -->
73
73
  <fieldType name="boolean" class="solr.BoolField" sortMissingLast="true" omitNorms="true"/>
@@ -89,29 +89,14 @@
89
89
  then default lucene sorting will be used which places docs without the
90
90
  field first in an ascending sort and last in a descending sort.
91
91
  -->
92
-
93
- <!--
94
- Default numeric field types. For faster range queries, consider the tint/tfloat/tlong/tdouble types.
95
- -->
96
- <fieldType name="int" class="solr.TrieIntField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
97
- <fieldType name="float" class="solr.TrieFloatField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
98
- <fieldType name="long" class="solr.TrieLongField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
99
- <fieldType name="double" class="solr.TrieDoubleField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
100
-
101
92
  <!--
102
- Numeric field types that index each value at various levels of precision
103
- to accelerate range queries when the number of values between the range
104
- endpoints is large. See the javadoc for NumericRangeQuery for internal
105
- implementation details.
106
-
107
- Smaller precisionStep values (specified in bits) will lead to more tokens
108
- indexed per value, slightly larger index size, and faster range queries.
109
- A precisionStep of 0 disables indexing at different precision levels.
93
+ Numeric field types that index values using KD-trees.
94
+ Point fields don't support FieldCache, so they must have docValues="true" if needed for sorting, faceting, functions, etc.
110
95
  -->
111
- <fieldType name="tint" class="solr.TrieIntField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/>
112
- <fieldType name="tfloat" class="solr.TrieFloatField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/>
113
- <fieldType name="tlong" class="solr.TrieLongField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/>
114
- <fieldType name="tdouble" class="solr.TrieDoubleField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/>
96
+ <fieldType name="pint" class="solr.IntPointField" docValues="true"/>
97
+ <fieldType name="pfloat" class="solr.FloatPointField" docValues="true"/>
98
+ <fieldType name="plong" class="solr.LongPointField" docValues="true"/>
99
+ <fieldType name="pdouble" class="solr.DoublePointField" docValues="true"/>
115
100
 
116
101
  <!-- The format for this date field is of the form 1995-12-31T23:59:59Z, and
117
102
  is a more restricted form of the canonical representation of dateTime
@@ -135,10 +120,8 @@
135
120
 
136
121
  Note: For faster range queries, consider the tdate type
137
122
  -->
138
- <fieldType name="date" class="solr.TrieDateField" omitNorms="true" precisionStep="0" positionIncrementGap="0"/>
139
-
140
- <!-- A Trie based date field for faster date range queries and date faceting. -->
141
- <fieldType name="tdate" class="solr.TrieDateField" omitNorms="true" precisionStep="6" positionIncrementGap="0"/>
123
+ <!-- KD-tree versions of date fields -->
124
+ <fieldType name="pdate" class="solr.DatePointField" docValues="true"/>
142
125
 
143
126
  <!-- The "RandomSortField" is not used to store or search any
144
127
  data. You can declare fields of this type it in your schema
@@ -153,154 +136,61 @@
153
136
  -->
154
137
  <fieldType name="random" class="solr.RandomSortField" indexed="true" />
155
138
 
156
- <!-- solr.TextField allows the specification of custom text analyzers
157
- specified as a tokenizer and a list of token filters. Different
158
- analyzers may be specified for indexing and querying.
159
-
160
- The optional positionIncrementGap puts space between multiple fields of
161
- this type on the same document, with the purpose of preventing false phrase
162
- matching across fields.
163
-
164
- For more info on customizing your analyzer chain, please see
165
- http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters
166
- -->
167
- <fieldType name="text" class="solr.TextField" positionIncrementGap="100">
168
- <analyzer>
169
- <tokenizer class="solr.StandardTokenizerFactory"/>
170
- <filter class="solr.ICUFoldingFilterFactory" />
171
- <filter class="solr.SnowballPorterFilterFactory" language="English" />
172
- </analyzer>
173
- </fieldType>
174
-
175
- <!-- One can also specify an existing Analyzer class that has a
176
- default constructor via the class attribute on the analyzer element
177
- <fieldType name="text_greek" class="solr.TextField">
178
- <analyzer class="org.apache.lucene.analysis.el.GreekAnalyzer"/>
179
- </fieldType>
180
- -->
181
-
182
- <!-- A text field that only splits on whitespace for exact matching of words -->
183
- <fieldType name="text_ws" class="solr.TextField" positionIncrementGap="100">
139
+ <fieldType name="text" class="solr.TextField" positionIncrementGap="100">
184
140
  <analyzer>
185
- <tokenizer class="solr.WhitespaceTokenizerFactory"/>
186
- </analyzer>
187
- </fieldType>
188
-
189
- <!-- A general text field that has reasonable, generic
190
- cross-language defaults: it tokenizes with StandardTokenizer,
191
- removes stop words from case-insensitive "stopwords.txt"
192
- (empty by default), and down cases. At query time only, it
193
- also applies synonyms. -->
194
- <fieldType name="text_general" class="solr.TextField" positionIncrementGap="100">
195
- <analyzer type="index">
196
- <tokenizer class="solr.StandardTokenizerFactory"/>
197
- <!-- in this example, we will only use synonyms at query time
198
- <filter class="solr.SynonymFilterFactory" synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/>
199
- -->
200
- <filter class="solr.LowerCaseFilterFactory"/>
201
- </analyzer>
202
- <analyzer type="query">
203
- <tokenizer class="solr.StandardTokenizerFactory"/>
204
- <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
205
- <filter class="solr.LowerCaseFilterFactory"/>
141
+ <tokenizer class="solr.ICUTokenizerFactory" />
142
+ <filter class="solr.KeywordRepeatFilterFactory" />
143
+ <filter class="solr.ICUFoldingFilterFactory" />
144
+ <filter class="solr.PorterStemFilterFactory"/>
145
+ <filter class="solr.RemoveDuplicatesTokenFilterFactory" />
206
146
  </analyzer>
207
147
  </fieldType>
208
148
 
209
- <!-- A text field with defaults appropriate for English: it
210
- tokenizes with StandardTokenizer, removes English stop words
211
- (stopwords_en.txt), down cases, protects words from protwords.txt, and
212
- finally applies Porter's stemming. The query time analyzer
213
- also applies synonyms from synonyms.txt. -->
214
149
  <fieldType name="text_en" class="solr.TextField" positionIncrementGap="100">
215
150
  <analyzer type="index">
216
- <tokenizer class="solr.StandardTokenizerFactory"/>
217
- <!-- in this example, we will only use synonyms at query time
218
- <filter class="solr.SynonymFilterFactory" synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/>
219
- -->
220
- <filter class="solr.LowerCaseFilterFactory"/>
221
- <filter class="solr.EnglishPossessiveFilterFactory"/>
151
+ <tokenizer class="solr.WhitespaceTokenizerFactory" />
152
+ <filter class="solr.KeywordRepeatFilterFactory" />
153
+ <filter class="solr.WordDelimiterGraphFilterFactory"/>
154
+ <filter class="solr.EnglishPossessiveFilterFactory"/>
155
+ <filter class="solr.ICUFoldingFilterFactory" />
222
156
  <filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
223
- <!-- Optionally you may want to use this less aggressive stemmer instead of PorterStemFilterFactory:
224
- <filter class="solr.EnglishMinimalStemFilterFactory"/>
225
- -->
226
157
  <filter class="solr.PorterStemFilterFactory"/>
158
+ <filter class="solr.FlattenGraphFilterFactory"/> <!-- required on index analyzers after graph filters -->
159
+ <filter class="solr.RemoveDuplicatesTokenFilterFactory" />
227
160
  </analyzer>
228
161
  <analyzer type="query">
229
- <tokenizer class="solr.StandardTokenizerFactory"/>
162
+ <tokenizer class="solr.WhitespaceTokenizerFactory" />
163
+ <filter class="solr.KeywordRepeatFilterFactory" />
164
+ <filter class="solr.WordDelimiterGraphFilterFactory"/>
230
165
  <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
231
- <filter class="solr.LowerCaseFilterFactory"/>
232
- <filter class="solr.EnglishPossessiveFilterFactory"/>
166
+ <filter class="solr.ICUFoldingFilterFactory" />
167
+ <filter class="solr.EnglishPossessiveFilterFactory"/>
233
168
  <filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
234
- <!-- Optionally you may want to use this less aggressive stemmer instead of PorterStemFilterFactory:
235
- <filter class="solr.EnglishMinimalStemFilterFactory"/>
236
- -->
237
169
  <filter class="solr.PorterStemFilterFactory"/>
170
+ <filter class="solr.RemoveDuplicatesTokenFilterFactory" />
238
171
  </analyzer>
239
172
  </fieldType>
240
173
 
241
- <!-- A text field with defaults appropriate for English, plus
242
- aggressive word-splitting and autophrase features enabled.
243
- This field is just like text_en, except it adds
244
- WordDelimiterFilter to enable splitting and matching of
245
- words on case-change, alpha numeric boundaries, and
246
- non-alphanumeric chars. This means certain compound word
247
- cases will work, for example query "wi fi" will match
248
- document "WiFi" or "wi-fi". However, other cases will still
249
- not match, for example if the query is "wifi" and the
250
- document is "wi fi" or if the query is "wi-fi" and the
251
- document is "wifi".
252
- -->
253
- <fieldType name="text_en_splitting" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="true">
174
+ <fieldType name="identifier_match" class="solr.TextField" positionIncrementGap="100">
254
175
  <analyzer type="index">
255
176
  <tokenizer class="solr.WhitespaceTokenizerFactory"/>
256
- <!-- in this example, we will only use synonyms at query time
257
- <filter class="solr.SynonymFilterFactory" synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/>
258
- -->
259
- <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
260
- <filter class="solr.LowerCaseFilterFactory"/>
261
- <filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
262
- <filter class="solr.PorterStemFilterFactory"/>
177
+ <filter class="solr.WordDelimiterGraphFilterFactory"
178
+ catenateWords="1"
179
+ catenateNumbers="1"
180
+ catenateAll="1"
181
+ />
182
+ <filter class="solr.ICUFoldingFilterFactory" />
183
+ <filter class="solr.FlattenGraphFilterFactory"/> <!-- required on index analyzers after graph filters -->
263
184
  </analyzer>
264
185
  <analyzer type="query">
265
186
  <tokenizer class="solr.WhitespaceTokenizerFactory"/>
266
- <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
267
- <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/>
268
- <filter class="solr.LowerCaseFilterFactory"/>
269
- <filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
270
- <filter class="solr.PorterStemFilterFactory"/>
271
- </analyzer>
272
- </fieldType>
273
-
274
- <!-- Less flexible matching, but less false matches. Probably not ideal for product names,
275
- but may be good for SKUs. Can insert dashes in the wrong place and still match. -->
276
- <fieldType name="text_en_splitting_tight" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="true">
277
- <analyzer>
278
- <tokenizer class="solr.WhitespaceTokenizerFactory"/>
279
- <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="false"/>
280
- <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords_en.txt"/>
281
- <filter class="solr.WordDelimiterFilterFactory" generateWordParts="0" generateNumberParts="0" catenateWords="1" catenateNumbers="1" catenateAll="0"/>
282
- <filter class="solr.LowerCaseFilterFactory"/>
283
- <filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
284
- <filter class="solr.EnglishMinimalStemFilterFactory"/>
285
- <!-- this filter can remove any duplicate tokens that appear at the same position - sometimes
286
- possible with WordDelimiterFilter in conjuncton with stemming. -->
287
- <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
288
- </analyzer>
289
- </fieldType>
290
-
291
- <!-- Just like text_general except it reverses the characters of
292
- each token, to enable more efficient leading wildcard queries. -->
293
- <fieldType name="text_general_rev" class="solr.TextField" positionIncrementGap="100">
294
- <analyzer type="index">
295
- <tokenizer class="solr.StandardTokenizerFactory"/>
296
- <filter class="solr.LowerCaseFilterFactory"/>
297
- <filter class="solr.ReversedWildcardFilterFactory" withOriginal="true"
298
- maxPosAsterisk="3" maxPosQuestion="2" maxFractionAsterisk="0.33"/>
299
- </analyzer>
300
- <analyzer type="query">
301
- <tokenizer class="solr.StandardTokenizerFactory"/>
302
- <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
303
- <filter class="solr.LowerCaseFilterFactory"/>
187
+ <filter class="solr.WordDelimiterGraphFilterFactory"
188
+ catenateWords="1"
189
+ catenateNumbers="1"
190
+ catenateAll="1"
191
+ />
192
+ <filter class="solr.ICUFoldingFilterFactory" />
193
+ <filter class="solr.WordDelimiterGraphFilterFactory"/>
304
194
  </analyzer>
305
195
  </fieldType>
306
196
 
@@ -308,31 +198,19 @@
308
198
  <analyzer>
309
199
  <tokenizer class="solr.StandardTokenizerFactory"/>
310
200
  <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
311
- <filter class="solr.StandardFilterFactory"/>
312
201
  <filter class="solr.LowerCaseFilterFactory"/>
313
202
  <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
314
203
  </analyzer>
315
204
  </fieldType>
316
205
 
317
- <fieldType class="solr.TextField" name="textSuggest" positionIncrementGap="100">
206
+ <fieldType name="textSuggest" class="solr.TextField" positionIncrementGap="100">
318
207
  <analyzer>
319
208
  <tokenizer class="solr.KeywordTokenizerFactory"/>
320
- <filter class="solr.StandardFilterFactory"/>
321
209
  <filter class="solr.LowerCaseFilterFactory"/>
322
210
  <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
323
211
  </analyzer>
324
212
  </fieldType>
325
213
 
326
- <!-- charFilter + WhitespaceTokenizer -->
327
- <!--
328
- <fieldType name="text_char_norm" class="solr.TextField" positionIncrementGap="100" >
329
- <analyzer>
330
- <charFilter class="solr.MappingCharFilterFactory" mapping="mapping-ISOLatin1Accent.txt"/>
331
- <tokenizer class="solr.WhitespaceTokenizerFactory"/>
332
- </analyzer>
333
- </fieldType>
334
- -->
335
-
336
214
  <!-- This is an example of using the KeywordTokenizer along
337
215
  With various TokenFilterFactories to produce a sortable field
338
216
  that does not include some properties of the source text
@@ -366,70 +244,11 @@
366
244
  </analyzer>
367
245
  </fieldType>
368
246
 
369
- <fieldtype name="phonetic" stored="false" indexed="true" class="solr.TextField" >
370
- <analyzer>
371
- <tokenizer class="solr.StandardTokenizerFactory"/>
372
- <filter class="solr.DoubleMetaphoneFilterFactory" inject="false"/>
373
- </analyzer>
374
- </fieldtype>
375
-
376
- <fieldtype name="payloads" stored="false" indexed="true" class="solr.TextField" >
377
- <analyzer>
378
- <tokenizer class="solr.WhitespaceTokenizerFactory"/>
379
- <!--
380
- The DelimitedPayloadTokenFilter can put payloads on tokens... for example,
381
- a token of "foo|1.4" would be indexed as "foo" with a payload of 1.4f
382
- Attributes of the DelimitedPayloadTokenFilterFactory :
383
- "delimiter" - a one character delimiter. Default is | (pipe)
384
- "encoder" - how to encode the following value into a playload
385
- float -> org.apache.lucene.analysis.payloads.FloatEncoder,
386
- integer -> o.a.l.a.p.IntegerEncoder
387
- identity -> o.a.l.a.p.IdentityEncoder
388
- Fully Qualified class name implementing PayloadEncoder, Encoder must have a no arg constructor.
389
- -->
390
- <filter class="solr.DelimitedPayloadTokenFilterFactory" encoder="float"/>
391
- </analyzer>
392
- </fieldtype>
393
-
394
- <!-- lowercases the entire field value, keeping it as a single token. -->
395
- <fieldType name="lowercase" class="solr.TextField" positionIncrementGap="100">
396
- <analyzer>
397
- <tokenizer class="solr.KeywordTokenizerFactory"/>
398
- <filter class="solr.LowerCaseFilterFactory" />
399
- </analyzer>
400
- </fieldType>
401
-
402
- <fieldType name="text_path" class="solr.TextField" positionIncrementGap="100">
403
- <analyzer>
404
- <tokenizer class="solr.PathHierarchyTokenizerFactory"/>
405
- </analyzer>
406
- </fieldType>
407
-
408
- <!-- since fields of this type are by default not stored or indexed,
409
- any data added to them will be ignored outright. -->
410
- <fieldtype name="ignored" stored="false" indexed="false" multiValued="true" class="solr.StrField" />
411
-
412
- <!-- This point type indexes the coordinates as separate fields (subFields)
413
- If subFieldType is defined, it references a type, and a dynamic field
414
- definition is created matching *___<typename>. Alternately, if
415
- subFieldSuffix is defined, that is used to create the subFields.
416
- Example: if subFieldType="double", then the coordinates would be
417
- indexed in fields myloc_0___double,myloc_1___double.
418
- Example: if subFieldSuffix="_d" then the coordinates would be indexed
419
- in fields myloc_0_d,myloc_1_d
420
- The subFields are an implementation detail of the fieldType, and end
421
- users normally should not need to know about them.
422
- -->
423
- <fieldType name="point" class="solr.PointType" dimension="2" subFieldSuffix="_d"/>
424
-
425
247
  <!-- A specialized field for geospatial search. If indexed, this fieldType must not be multivalued. -->
426
248
  <fieldType name="location" class="solr.LatLonType" subFieldSuffix="_coordinate"/>
427
249
 
428
- <!--
429
- A Geohash is a compact representation of a latitude longitude pair in a single field.
430
- See http://wiki.apache.org/solr/SpatialSearch
431
- -->
432
- <fieldtype name="geohash" class="solr.GeoHashField"/>
250
+ <fieldType name="_nest_path_" class="solr.NestPathField" />
251
+
433
252
  </types>
434
253
 
435
254
 
@@ -459,10 +278,15 @@
459
278
 
460
279
  <!-- NOTE: this is not a full list of fields in the index; dynamic fields are also used -->
461
280
  <field name="id" type="string" indexed="true" stored="true" required="true" />
462
- <field name="_version_" type="long" indexed="true" stored="true" multiValued="false" />
463
- <field name="timestamp" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>
281
+ <field name="_version_" type="plong" indexed="true" stored="true" multiValued="false" />
282
+ <field name="timestamp" type="pdate" indexed="true" stored="true" default="NOW" multiValued="false"/>
464
283
  <!-- default, catch all search field -->
465
284
  <field name="text" type="text" indexed="true" stored="true" multiValued="true"/>
285
+ <field name="unitid_identifier_match" type="identifier_match" indexed="true" multiValued="true" />
286
+
287
+ <field name="_root_" type="string" indexed="true" stored="true" docValues="false" />
288
+ <field name="_nest_parent_" type="string" indexed="true" stored="true"/>
289
+ <field name="_nest_path_" type="_nest_path_" indexed="true" stored="true"/>
466
290
 
467
291
  <!-- Dynamic field definitions. If a field name is not found, dynamicFields
468
292
  will be used if the name matches any of the patterns.
@@ -471,37 +295,9 @@
471
295
  EXAMPLE: name="*_i" will match any field ending in _i (like myid_i, z_i)
472
296
  Longer patterns will be matched first. if equal size patterns
473
297
  both match, the first appearing in the schema will be used. -->
474
- <dynamicField name="*_i" type="int" indexed="true" stored="true"/>
475
- <dynamicField name="*_s" type="string" indexed="true" stored="true"/>
476
- <dynamicField name="*_l" type="long" indexed="true" stored="true"/>
477
- <dynamicField name="*_t" type="text" indexed="true" stored="true" multiValued="true"/>
478
- <dynamicField name="*_txt" type="text_general" indexed="true" stored="true" multiValued="true"/>
479
- <dynamicField name="*_b" type="boolean" indexed="true" stored="true"/>
480
- <dynamicField name="*_f" type="float" indexed="true" stored="true"/>
481
- <dynamicField name="*_d" type="double" indexed="true" stored="true"/>
482
-
483
- <!-- Type used to index the lat and lon components for the "location" FieldType -->
484
- <dynamicField name="*_coordinate" type="tdouble" indexed="true" stored="false"/>
485
-
486
- <dynamicField name="*_dt" type="date" indexed="true" stored="true"/>
487
- <dynamicField name="*_p" type="location" indexed="true" stored="true"/>
488
-
489
- <!-- some trie-coded dynamic fields for faster range queries -->
490
- <dynamicField name="*_ti" type="tint" indexed="true" stored="true"/>
491
- <dynamicField name="*_tl" type="tlong" indexed="true" stored="true"/>
492
- <dynamicField name="*_tf" type="tfloat" indexed="true" stored="true"/>
493
- <dynamicField name="*_td" type="tdouble" indexed="true" stored="true"/>
494
- <dynamicField name="*_tdt" type="tdate" indexed="true" stored="true"/>
495
-
496
- <dynamicField name="ignored_*" type="ignored" multiValued="true"/>
497
- <dynamicField name="attr_*" type="text_general" indexed="true" stored="true" multiValued="true"/>
498
-
499
298
  <dynamicField name="random_*" type="random" />
500
299
 
501
- <dynamicField name="*_display" type="string" indexed="false" stored="true" multiValued="true" />
502
- <dynamicField name="*_facet" type="string" indexed="true" stored="false" multiValued="true" />
503
300
  <dynamicField name="*_sort" type="alphaNumericSort" indexed="true" stored="false" multiValued="false" />
504
- <dynamicField name="*_unstem_search" type="text_general" indexed="true" stored="false" multiValued="true" />
505
301
  <dynamicField name="*spell" type="textSpell" indexed="true" stored="false" multiValued="true" />
506
302
  <dynamicField name="*suggest" type="textSuggest" indexed="true" stored="false" multiValued="true" />
507
303
 
@@ -518,12 +314,8 @@
518
314
  <dynamicField name="*_ssm" type="string" stored="true" indexed="false" multiValued="true" />
519
315
  <dynamicField name="*_ssi" type="string" stored="true" indexed="true" multiValued="false" />
520
316
  <dynamicField name="*_ssim" type="string" stored="true" indexed="true" multiValued="true" />
521
- <dynamicField name="*_dtsi" type="date" stored="true" indexed="true" multiValued="false" />
522
- <dynamicField name="*_dtsim" type="date" stored="true" indexed="true" multiValued="true" />
523
- <dynamicField name="*_bsi" type="boolean" stored="true" indexed="true" multiValued="false" />
524
- <dynamicField name="*_isim" type="int" stored="true" indexed="true" multiValued="true" />
525
- <dynamicField name="*_ii" type="int" stored="false" indexed="true" multiValued="false" />
526
-
317
+ <dynamicField name="*_isim" type="pint" stored="true" indexed="true" multiValued="true" />
318
+ <dynamicField name="*_ii" type="pint" stored="false" indexed="true" multiValued="false" />
527
319
  </fields>
528
320
 
529
321
  <!-- Field to use to determine and enforce document uniqueness.
@@ -576,9 +368,7 @@
576
368
  <copyField source="userestrict_teim" dest="text" />
577
369
  <!-- grab structured data that's important -->
578
370
  <copyField source="unitid_ssm" dest="text" />
579
-
580
- <!-- unstemmed fields -->
581
- <!-- <copyField source="title_t" dest="title_unstem_search"/> -->
371
+ <copyField source="unitid_ssm" dest="unitid_identifier_match" />
582
372
 
583
373
  <!-- sort fields -->
584
374
  <copyField source="normalized_title_ssm" dest="title_sort"/> <!-- TODO: assumes single values -->
@@ -597,30 +387,4 @@
597
387
  <copyField source="places_ssim" dest="suggest"/>
598
388
  <copyField source="access_subjects_ssim" dest="suggest"/>
599
389
 
600
- <!-- Above, multiple source fields are copied to the [text] field.
601
- Another way to map multiple source fields to the same
602
- destination field is to use the dynamic field syntax.
603
- copyField also supports a maxChars to copy setting. -->
604
-
605
- <!-- <copyField source="*_t" dest="text" maxChars="3000"/> -->
606
-
607
- <!-- copy name to alphaNameSort, a field designed for sorting by name -->
608
- <!-- <copyField source="name" dest="alphaNameSort"/> -->
609
-
610
-
611
- <!-- Similarity is the scoring routine for each document vs. a query.
612
- A custom similarity may be specified here, but the default is fine
613
- for most applications. -->
614
- <!-- <similarity class="org.apache.lucene.search.DefaultSimilarity"/> -->
615
- <!-- ... OR ...
616
- Specify a SimilarityFactory class name implementation
617
- allowing parameters to be used.
618
- -->
619
- <!--
620
- <similarity class="com.example.solr.CustomSimilarityFactory">
621
- <str name="paramkey">param value</str>
622
- </similarity>
623
- -->
624
-
625
-
626
390
  </schema>