active-fedora 9.7.3 → 9.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.rubocop.yml +6 -27
  4. data/History.txt +7 -3
  5. data/README.md +12 -13
  6. data/Rakefile +1 -1
  7. data/active-fedora.gemspec +4 -3
  8. data/config/fedora.yml +2 -2
  9. data/config/solr.yml +5 -5
  10. data/lib/active_fedora/autosave_association.rb +1 -1
  11. data/lib/active_fedora/file.rb +11 -1
  12. data/lib/active_fedora/indexing/map.rb +2 -1
  13. data/lib/active_fedora/nested_attributes.rb +1 -1
  14. data/lib/active_fedora/rdf/field_map.rb +4 -2
  15. data/lib/active_fedora/relation/finder_methods.rb +3 -3
  16. data/lib/active_fedora/scoping/named.rb +0 -1
  17. data/lib/active_fedora/solr_query_builder.rb +3 -10
  18. data/lib/active_fedora/version.rb +1 -1
  19. data/lib/generators/active_fedora/config/fedora/templates/fedora.yml +2 -2
  20. data/lib/generators/active_fedora/config/solr/solr_generator.rb +0 -1
  21. data/lib/generators/active_fedora/config/solr/templates/solr.yml +2 -2
  22. data/lib/tasks/active_fedora_dev.rake +13 -8
  23. data/solr/config/_rest_managed.json +3 -0
  24. data/solr/config/admin-extra.html +31 -0
  25. data/solr/config/elevate.xml +36 -0
  26. data/solr/config/mapping-ISOLatin1Accent.txt +246 -0
  27. data/solr/config/protwords.txt +21 -0
  28. data/solr/config/schema.xml +372 -0
  29. data/solr/config/scripts.conf +24 -0
  30. data/solr/config/solrconfig.xml +419 -0
  31. data/solr/config/spellings.txt +2 -0
  32. data/solr/config/stopwords.txt +58 -0
  33. data/solr/config/stopwords_en.txt +58 -0
  34. data/solr/config/synonyms.txt +31 -0
  35. data/solr/config/xslt/example.xsl +132 -0
  36. data/solr/config/xslt/example_atom.xsl +67 -0
  37. data/solr/config/xslt/example_rss.xsl +66 -0
  38. data/solr/config/xslt/luke.xsl +337 -0
  39. data/spec/integration/complex_rdf_datastream_spec.rb +8 -8
  40. data/spec/integration/datastream_rdf_nested_attributes_spec.rb +3 -3
  41. data/spec/integration/has_and_belongs_to_many_associations_spec.rb +1 -1
  42. data/spec/integration/ntriples_datastream_spec.rb +12 -1
  43. data/spec/integration/rdf_nested_attributes_spec.rb +51 -20
  44. data/spec/integration/scoped_query_spec.rb +1 -2
  45. data/spec/samples/hydra-mods_article_datastream.rb +4 -2
  46. data/spec/unit/active_fedora_spec.rb +0 -3
  47. data/spec/unit/base_spec.rb +1 -1
  48. data/spec/unit/finder_methods_spec.rb +2 -2
  49. data/spec/unit/ntriples_datastream_spec.rb +20 -10
  50. data/spec/unit/query_spec.rb +10 -10
  51. data/spec/unit/sparql_insert_spec.rb +1 -1
  52. metadata +42 -14
  53. data/config/solr_mappings_af_0.1.yml +0 -9
  54. data/config/solr_mappings_bl_2.4.yml +0 -17
  55. data/lib/generators/active_fedora/config/solr/templates/jetty.yml +0 -6
@@ -1,9 +0,0 @@
1
- id: id
2
- default: searchable
3
- searchable:
4
- default: _field
5
- date: _date
6
- displayable: _display
7
- facetable: _facet
8
- sortable: _sort
9
- unstemmed_searchable: _unstem_search
@@ -1,17 +0,0 @@
1
- id: id
2
- default: searchable
3
- searchable:
4
- id: id
5
- date: _dt
6
- string: _t
7
- text: _t
8
- symbol: _s
9
- integer: _i
10
- long: _l
11
- boolean: _b
12
- float: _f
13
- double: _d
14
- displayable: _display
15
- facetable: _facet
16
- sortable: _sort
17
- unstemmed_searchable: _unstem_search
@@ -1,6 +0,0 @@
1
- default:
2
- startup_wait: 90
3
- jetty_port: 8983
4
- java_opts:
5
- - "-Xmx512m"
6
- - "-XX:MaxPermSize=128m"