enju_biblio 0.1.0.pre47 → 0.1.0.pre48

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/identifier.rb +1 -1
  3. data/app/models/manifestation.rb +1 -1
  4. data/app/views/manifestations/_manifestation.html.erb +0 -7
  5. data/lib/enju_biblio/version.rb +1 -1
  6. data/lib/generators/enju_biblio/setup/templates/db/fixtures/carrier_types.yml +4 -2
  7. data/spec/dummy/config/initializers/devise.rb +2 -0
  8. data/spec/dummy/config/sunspot.yml +22 -0
  9. data/spec/dummy/db/test.sqlite3 +0 -0
  10. data/spec/dummy/private/system/{patron_import_files/patron_imports/000/000/004/original/patron_delete_file.tsv → agent_import_files/agent_imports/000/000/004/original/agent_delete_file.tsv} +0 -0
  11. data/spec/dummy/private/system/{patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample1.tsv → agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample1.tsv} +0 -0
  12. data/spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample2.tsv +8 -0
  13. data/spec/dummy/private/system/{patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample3.tsv → agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample3.tsv} +0 -0
  14. data/spec/dummy/private/system/{patron_import_files/patron_imports/000/000/004/original/patron_update_file.tsv → agent_import_files/agent_imports/000/000/004/original/agent_update_file.tsv} +0 -0
  15. data/spec/dummy/private/system/picture_files/pictures/000/000/005/medium/spinner.gif +0 -0
  16. data/spec/dummy/private/system/picture_files/pictures/000/000/005/thumb/spinner.gif +0 -0
  17. data/spec/dummy/private/system/resource_import_files/resource_imports/000/000/004/original/resource_import_file_sample1.tsv +19 -19
  18. data/spec/dummy/private/system/resource_import_files/resource_imports/000/000/004/original/resource_import_file_sample2.tsv +1 -1
  19. data/spec/dummy/solr/conf/schema.xml +5 -0
  20. data/spec/dummy/solr/conf/solrconfig.xml +588 -855
  21. data/spec/dummy/solr/{data/test/spellchecker → default/data/index}/segments.gen +0 -0
  22. data/spec/dummy/solr/default/data/index/segments_1 +0 -0
  23. data/spec/dummy/solr/development/data/index/segments.gen +0 -0
  24. data/spec/dummy/solr/development/data/index/segments_1 +0 -0
  25. data/spec/dummy/solr/solr.xml +8 -0
  26. data/spec/dummy/solr/test/data/index/_ar.fdt +0 -0
  27. data/spec/dummy/solr/test/data/index/_ar.fdx +0 -0
  28. data/spec/dummy/solr/test/data/index/_ar.fnm +0 -0
  29. data/spec/dummy/solr/test/data/index/_ar.nvd +0 -0
  30. data/spec/dummy/solr/test/data/index/_ar.nvm +0 -0
  31. data/spec/dummy/solr/test/data/index/_ar.si +0 -0
  32. data/spec/dummy/solr/test/data/index/_ar_1.del +0 -0
  33. data/spec/dummy/solr/test/data/index/_ar_Lucene41_0.doc +0 -0
  34. data/spec/dummy/solr/test/data/index/_ar_Lucene41_0.pos +0 -0
  35. data/spec/dummy/solr/test/data/index/_ar_Lucene41_0.tim +0 -0
  36. data/spec/dummy/solr/test/data/index/_ar_Lucene41_0.tip +0 -0
  37. data/spec/dummy/solr/test/data/index/segments.gen +0 -0
  38. data/spec/dummy/solr/test/data/index/segments_gp +0 -0
  39. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000590 +0 -0
  40. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000591 +0 -0
  41. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000592 +0 -0
  42. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000593 +0 -0
  43. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000594 +0 -0
  44. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000595 +0 -0
  45. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000596 +0 -0
  46. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000597 +0 -0
  47. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000598 +0 -0
  48. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000599 +0 -0
  49. data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
  50. data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
  51. data/spec/dummy/tmp/cache/assets/test/sprockets/0007ecce45b93cdb724b7afc81c58eef +0 -0
  52. data/spec/dummy/tmp/cache/assets/test/sprockets/12e4c17fde328e87f185b54d0fd22cee +0 -0
  53. data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  54. data/spec/dummy/tmp/cache/assets/test/sprockets/16453aa846d172232cb70ea0ef5d25bb +0 -0
  55. data/spec/dummy/tmp/cache/assets/test/sprockets/1d1ea12f4657d43009075ba81a2ff949 +0 -0
  56. data/spec/dummy/tmp/cache/assets/test/sprockets/22c8941ab6dec8cd7b3f725e1989dc20 +0 -0
  57. data/spec/dummy/tmp/cache/assets/test/sprockets/2907c5764021b73fea23b8c03366f655 +0 -0
  58. data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  59. data/spec/dummy/tmp/cache/assets/test/sprockets/31817e54964b160b145981a05d488ea5 +0 -0
  60. data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  61. data/spec/dummy/tmp/cache/assets/test/sprockets/35c9a2264fcfcc488d2a6776dc617fe4 +0 -0
  62. data/spec/dummy/tmp/cache/assets/test/sprockets/3ef59f6e50a5c1a00cbe017005ccc092 +0 -0
  63. data/spec/dummy/tmp/cache/assets/test/sprockets/468b9cb62ec31de58f50e21c723eb0f2 +0 -0
  64. data/spec/dummy/tmp/cache/assets/test/sprockets/5db165a5b217a384aaa8885d6bcaf193 +0 -0
  65. data/spec/dummy/tmp/cache/assets/test/sprockets/6738d1a07584e4b732d197e10afd6a19 +0 -0
  66. data/spec/dummy/tmp/cache/assets/test/sprockets/713e605b98f227d474b0a75186d526bd +0 -0
  67. data/spec/dummy/tmp/cache/assets/test/sprockets/73dd55af1945710cb35da20e2726bc54 +0 -0
  68. data/spec/dummy/tmp/cache/assets/test/sprockets/76f979f44a375913d6aa28436282e110 +0 -0
  69. data/spec/dummy/tmp/cache/assets/test/sprockets/80d9509747f6671db5418f6de4f4cd3f +0 -0
  70. data/spec/dummy/tmp/cache/assets/test/sprockets/8451b1e32aea92f857de859a012c1abd +0 -0
  71. data/spec/dummy/tmp/cache/assets/test/sprockets/8a73d1e841a4716b4f18ed4a23622092 +0 -0
  72. data/spec/dummy/tmp/cache/assets/test/sprockets/8c8f32cb3a3261a41bfa6a95f4b3afd5 +0 -0
  73. data/spec/dummy/tmp/cache/assets/test/sprockets/90e3b7aedcb1b31510132d74dbd555c9 +0 -0
  74. data/spec/dummy/tmp/cache/assets/test/sprockets/a2211f9aba864973a68ef4d6cbb47532 +0 -0
  75. data/spec/dummy/tmp/cache/assets/test/sprockets/a3fb5830694be09bec7bf9c893343dca +0 -0
  76. data/spec/dummy/tmp/cache/assets/test/sprockets/a43ec5253fe9346b1d50a1ee374d2d66 +0 -0
  77. data/spec/dummy/tmp/cache/assets/test/sprockets/a94f2961bd2ef1ac095238120cd01e70 +0 -0
  78. data/spec/dummy/tmp/cache/assets/test/sprockets/aa72d26d8669454d27462a48b59ed2ca +0 -0
  79. data/spec/dummy/tmp/cache/assets/test/sprockets/b232b827c0ef1a1cbb547a4d60e1a1b9 +0 -0
  80. data/spec/dummy/tmp/cache/assets/test/sprockets/b23620aac00e598226c10db2ca83a234 +0 -0
  81. data/spec/dummy/tmp/cache/assets/test/sprockets/b7bf6f3044d31166b6915e3c91e78d2a +0 -0
  82. data/spec/dummy/tmp/cache/assets/test/sprockets/b9cc8f1cd929beaef586e5f42a2aa4c2 +0 -0
  83. data/spec/dummy/tmp/cache/assets/test/sprockets/c3e97042b232e677d67679e11ebdb8ec +0 -0
  84. data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  85. data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  86. data/spec/dummy/tmp/cache/assets/test/sprockets/da2d2536c6473da020cf3b40aeb85007 +0 -0
  87. data/spec/dummy/tmp/cache/assets/test/sprockets/e36aeba4d184a13c3744106ae414e21e +0 -0
  88. data/spec/dummy/tmp/cache/assets/test/sprockets/e465db4bc86cd8696b367ff40c48f347 +0 -0
  89. data/spec/dummy/tmp/cache/assets/test/sprockets/e700a538c2dd259f9303466ed50c52ee +0 -0
  90. data/spec/dummy/tmp/cache/assets/test/sprockets/ed3ee76a74f73d308ff0ace7e6b842c7 +0 -0
  91. data/spec/dummy/tmp/cache/assets/test/sprockets/eefd8da6ad51914693e6a214abde1da8 +0 -0
  92. data/spec/dummy/tmp/cache/assets/test/sprockets/f4d8c4167300d9ab7c270e51ecc7fe23 +0 -0
  93. data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  94. data/spec/models/manifestation_spec.rb +3 -3
  95. metadata +179 -39
  96. data/spec/cassette_library/enju_ndl/manifestation.yml +0 -964
  97. data/spec/cassette_library/enju_ndl/ndl_search.yml +0 -2142
  98. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  99. data/spec/dummy/solr/data/test/index/segments_gf +0 -0
  100. data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 970476b1a332a001fdc9a9d03fde20c5c43a90bb
4
- data.tar.gz: be0f519d6b1ce53fca5c3e160992ca57adad4bd8
3
+ metadata.gz: e0eb05e1ac58af217b447c91df65211f504d631b
4
+ data.tar.gz: a89d806759b6289426e165389a2947f44e1b2a11
5
5
  SHA512:
6
- metadata.gz: 29c997f432d291626f016647c2500c4b87496aabc19cb7424bc7371614cf4a5fd9af527e354b20c64c8a881ca4de97c8063487f25e3269bde7b5ec7b1b4f71eb
7
- data.tar.gz: b60c74322468dfd9bd5eef82a90188a16d248df23b645bba1e3507620f256ab4a042bcfbf19f2e61f233e8a818a30b9d53a876c72d0131001a54651615d38b09
6
+ metadata.gz: e2f1ab48f1883dfe5b413c10cdf692bfcd2ea1ce6fbc3d138621ece2bb9148c01939359911971cd0ff666559ab2b78e2afec1a71cb985fb0e533c77209eed064
7
+ data.tar.gz: 9df311f7c0eb62cf282fd764888136004942ec945f65194fbe5dfeb77e9030cc594f3d9319c005b6960720de966f9fe3979ac71817797da9249f956be1313bd0
@@ -20,7 +20,7 @@ class Identifier < ActiveRecord::Base
20
20
 
21
21
  when 'issn'
22
22
  unless StdNum::ISSN.valid?(body)
23
- errors.add(:issn)
23
+ errors.add(:body)
24
24
  end
25
25
 
26
26
  when 'lccn'
@@ -47,7 +47,7 @@ class Manifestation < ActiveRecord::Base
47
47
  belongs_to :frequency
48
48
  belongs_to :required_role, :class_name => 'Role', :foreign_key => 'required_role_id', :validate => true
49
49
  has_one :resource_import_result
50
- has_many :identifiers
50
+ has_many :identifiers, :dependent => :destroy
51
51
  belongs_to :nii_type if defined?(EnjuNii)
52
52
  accepts_nested_attributes_for :creators, :allow_destroy => true, :reject_if => :all_blank
53
53
  accepts_nested_attributes_for :contributors, :allow_destroy => true, :reject_if => :all_blank
@@ -1,6 +1,5 @@
1
1
  <tr class="line<%= cycle("0", "1") -%>">
2
2
  <td style="width: 30px"><%= @manifestations.offset_value + 1 + manifestation_counter -%></td>
3
- <% cache([:manifestation => manifestation.id, :fragment => 'manifestation_html', :role => current_user_role_name, :locale => @locale]) do %>
4
3
  <td style="480px">
5
4
  <% if manifestation.root_series_statement %>
6
5
  <%= render 'manifestations/show_series_index', :manifestation => manifestation, :series_statement => manifestation.root_series_statement -%>
@@ -29,11 +28,6 @@
29
28
  <%- if can? :update, manifestation -%>
30
29
  <% unless params[:mode] == 'add' %>
31
30
  <%= link_to image_tag('icons/book_edit.png', :size => '16x16', :alt => t('page.edit')), edit_manifestation_path(manifestation) -%>
32
- <% if @series_statement %>
33
- <% if manifestation.root_series_statement == @series_statement %>
34
- <%= link_to t('page.destroy'), manifestation, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
35
- <% end %>
36
- <% end %>
37
31
  <% else %>
38
32
  <% case %>
39
33
  <% when @parent %>
@@ -47,5 +41,4 @@
47
41
  <%- end -%>
48
42
  </td>
49
43
  <% end %>
50
- <% end %>
51
44
  </tr>
@@ -1,3 +1,3 @@
1
1
  module EnjuBiblio
2
- VERSION = "0.1.0.pre47"
2
+ VERSION = "0.1.0.pre48"
3
3
  end
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  carrier_type_00001:
3
3
  name: print
4
- display_name: print
4
+ display_name: "en: print\r\n\
5
+ ja: 印刷物"
5
6
  id: 1
6
7
  position: 1
7
8
  carrier_type_00002:
@@ -16,7 +17,8 @@ carrier_type_00003:
16
17
  position: 3
17
18
  carrier_type_00004:
18
19
  name: file
19
- display_name: file
20
+ display_name: "en: file\r\n\
21
+ ja: コンピュータファイル"
20
22
  id: 4
21
23
  position: 4
22
24
 
@@ -1,6 +1,8 @@
1
1
  # Use this hook to configure devise mailer, warden hooks and so forth.
2
2
  # Many of these configuration options can be set straight in your model.
3
3
  Devise.setup do |config|
4
+ config.secret_key = '44c09b2db28a27e670c73afdb13e2c4647504e865e4976b4b21c1dc049c00461f58f539a1116cef66500ffdffd9d7fae0b93b73840949b53c5183f3dc434a2ca'
5
+
4
6
  # ==> Mailer Configuration
5
7
  # Configure the e-mail address which will be shown in Devise::Mailer,
6
8
  # note that it will be overwritten if you use your own mailer class with default "from" parameter.
@@ -0,0 +1,22 @@
1
+ production:
2
+ solr:
3
+ hostname: localhost
4
+ port: 8983
5
+ log_level: WARNING
6
+ path: /solr/production
7
+ # read_timeout: 2
8
+ # open_timeout: 0.5
9
+
10
+ development:
11
+ solr:
12
+ hostname: localhost
13
+ port: 8982
14
+ log_level: INFO
15
+ path: /solr/development
16
+
17
+ test:
18
+ solr:
19
+ hostname: localhost
20
+ port: 8981
21
+ log_level: WARNING
22
+ path: /solr/test
Binary file
@@ -0,0 +1,8 @@
1
+ "full_name" "username" "email" "library_short_name" "user_group_name" "user_number" "note"
2
+ "日本語の名前" "tanabe" "tanabe@library.example.jp" "kamata" 100001
3
+ "kosuke" "kosuke" 100001 "user_number重複"
4
+ "tanabe" "tanabe" 100002 "username重複"
5
+ "tanabe2" "tanabe2" "kamata" 100002 "emailなし"
6
+ "tanabe" "tanabe3" 100003 "full_name重複"
7
+ "tanabe" "tanabe4" "tanabe@library.example.jp" 100004 "email重複"
8
+ "tanabe" "tanabe5" "user_numberなし"
@@ -1,19 +1,19 @@
1
- manifestation_identifier original_title note title_transcription title_alternative periodical series_statement_identifier series_title series_title_transcription creator creator_transcription publisher publisher_transcription pub_date volume_number_string edition isbn issn manifestation_price item_price height shelf item_identifier nbn lccn subject budget_type bookstore dummy
2
- 資料ID タイトル 注記 タイトルよみ 代替タイトル 定期刊行物フラグ シリーズ番号 シリーズタイトル シリーズタイトルよみ 著者 著者よみ 出版者 出版者よみ 出版日 巻 版 isbn issn 販売価格 受入価格 高さ 書架名 個別資料ID nbn lccn 件名 インポート省略
3
- test1 ○ identifierなし、item_identifierなし test てすと test2 invalid
4
- test2 ○ identifierなし、item_identifierあり test||author//test1||illustrator 2001 10101 Public fund Example store
5
- 101 test3 × ダミー test test2 Public fund Example store 適当な値
6
- 101 test3 ○ identifierあり、item_identifierなし 主シリーズ//副シリーズ//1 しゅしりーず//ふくしりーず//いち test test2
7
- 102 test4 ○ identifierあり、item_identifierあり test1 test 2001-1 10102
8
- 101 “test 5” △ identifier重複、item_identifier非重複 test1||author//test2||illustrator てすと1//てすと2 test 10103 Example store
9
- 102 test6 × identifier重複、item_identifier重複 test test3 10101
10
- test7 ○ ISBN不正、タイトルあり、所蔵情報あり 2001-1-1 9000000000000 first_shelf 10104 Public fund
11
- × ISBN不正、タイトルなし 22222222 10105
12
- test8 ○ ISBNなし、所蔵情報あり test test4//test5 てすと4//てすと5 1000 0 first_shelf 11111
13
- test9 × item_identifier重複 11111
14
- ○ ISBN重複(シリーズ情報あり)、item_identifierなし 4798002062
15
- △ ISBN重複(シリーズ情報なし)、item_identifier非重複 4798002062 11112
16
- × ISBN重複、item_identifier重複 4798002062 11111
17
- × ISBN重複(13桁)、item_identifierなし 978-4798002064
18
- 103 "ダブル""クォート""を含む資料" ○ ダブルクォートを含む資料
19
- 104 test10 ○ TSV中にタイトルがあれば他の項目もTSVファイル優先 test3 test4 4797327030
1
+ manifestation_identifier original_title note title_transcription title_alternative periodical series_statement_identifier series_original_title series_title_transcription creator creator_transcription publisher publisher_transcription pub_date volume_number_string edition isbn issn manifestation_price item_price height shelf item_identifier nbn lccn subject budget_type bookstore classification dummy
2
+ 資料ID タイトル 注記 タイトルよみ 代替タイトル 定期刊行物フラグ シリーズ番号 シリーズタイトル シリーズタイトルよみ 著者 著者よみ 出版者 出版者よみ 出版日 巻 版 isbn issn 販売価格 受入価格 高さ 書架名 個別資料ID nbn lccn 件名 インポート省略
3
+ test1 ○ identifierなし、item_identifierなし test てすと test2 invalid
4
+ test2 ○ identifierなし、item_identifierあり test||author//test1||illustrator 2001 10101 Public fund Example store "Ndc: ""007"""
5
+ 101 test3 × ダミー test test2 Public fund Example store 適当な値
6
+ 101 test3 ○ identifierあり、item_identifierなし 主シリーズ//副シリーズ//1 しゅしりーず//ふくしりーず//いち test test2
7
+ 102 test4 ○ identifierあり、item_identifierあり test1 test 2001-1 10102
8
+ 101 “test 5” △ identifier重複、item_identifier非重複 test1||author//test2||illustrator てすと1//てすと2 test 10103 Example store
9
+ 102 test6 × identifier重複、item_identifier重複 test test3 10101
10
+ test7 ○ ISBN不正、タイトルあり、所蔵情報あり 2001-1-1 9000000000000 first_shelf 10104 Public fund
11
+ × ISBN不正、タイトルなし 22222222 10105
12
+ test8 ○ ISBNなし、所蔵情報あり test test4//test5 てすと4//てすと5 1000 0 first_shelf 11111
13
+ test9 × item_identifier重複 11111
14
+ ○ ISBN重複(シリーズ情報あり)、item_identifierなし 4798002062
15
+ △ ISBN重複(シリーズ情報なし)、item_identifier非重複 4798002062 11112
16
+ × ISBN重複、item_identifier重複 4798002062 11111
17
+ × ISBN重複(13桁)、item_identifierなし 978-4798002064
18
+ 103 "ダブル""クォート""を含む資料" ○ ダブルクォートを含む資料
19
+ 104 test10 ○ TSV中にタイトルがあれば他の項目もTSVファイル優先 test3 test4 4797327030
@@ -1,4 +1,4 @@
1
- manifestation_identifier original_title note title_transcription title_alternative periodical series_statement_identifier series_title series_title_transcription creator creator_transcription publisher publisher_transcription pub_date volume_number_string edition isbn issn manifestation_price item_price height shelf item_identifier nbn lccn subject budget_type bookstore dummy
1
+ manifestation_identifier original_title note title_transcription title_alternative periodical series_statement_identifier series_original_title series_title_transcription creator creator_transcription publisher publisher_transcription pub_date volume_number_string edition isbn issn manifestation_price item_price height shelf item_identifier nbn lccn subject budget_type bookstore dummy
2
2
  ����ID �^�C�g�� ���L �^�C�g����� ��փ^�C�g�� ������s���t���O �V���[�Y�ԍ� �V���[�Y�^�C�g�� �V���[�Y�^�C�g����� ���� ���҂�� �o�Ŏ� �o�Ŏ҂�� �o�œ� �� �� isbn issn �̔����i ������i ���� ���˖� �•ʎ���ID nbn lccn ���� �C���|�[�g�ȗ�
3
3
  test1 �� identifier�Ȃ��Aitem_identifier�Ȃ� test �Ă��� test2 invalid
4
4
  test2 �� identifier�Ȃ��Aitem_identifier���� test||author//test1||illustrator 2001 10101 Public fund Example store
@@ -64,6 +64,7 @@
64
64
  <tokenizer class="solr.StandardTokenizerFactory"/>
65
65
  <filter class="solr.StandardFilterFactory"/>
66
66
  <filter class="solr.LowerCaseFilterFactory"/>
67
+ <filter class="solr.PorterStemFilterFactory"/>
67
68
  </analyzer>
68
69
  </fieldType>
69
70
  <!-- *** This fieldType is used by Sunspot! *** -->
@@ -235,7 +236,11 @@
235
236
  <dynamicField name="*_llm" stored="false" type="location" multiValued="true" indexed="true"/>
236
237
  <dynamicField name="*_lls" stored="true" type="location" multiValued="false" indexed="true"/>
237
238
  <dynamicField name="*_llms" stored="true" type="location" multiValued="true" indexed="true"/>
239
+
240
+ <!-- required by Solr 4 -->
241
+ <field name="_version_" type="string" indexed="true" stored="true" multiValued="false" />
238
242
  </fields>
243
+
239
244
  <!-- Field to use to determine and enforce document uniqueness.
240
245
  Unless this field is marked with required="false", it will be a required field
241
246
  -->