Skip to content

Commit

Permalink
minor doi index update
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jan 10, 2019
1 parent 7e9063d commit ffc60ed
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ GEM
latex-decode (~> 0.0)
binding_of_caller (0.8.0)
debug_inspector (>= 0.0.1)
bolognese (1.0.35)
bolognese (1.0.36)
activesupport (>= 4.2.5, < 6)
benchmark_methods (~> 0.7)
bibtex-ruby (~> 4.1)
Expand Down Expand Up @@ -284,7 +284,7 @@ GEM
rest-client (~> 2.0.2)
marcel (0.3.3)
mimemagic (~> 0.3.2)
maremma (4.2)
maremma (4.2.1)
activesupport (>= 4.2.5, < 6)
addressable (>= 2.3.6)
builder (~> 3.2, >= 3.2.2)
Expand Down
6 changes: 4 additions & 2 deletions app/models/doi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,15 @@ class Doi < ActiveRecord::Base
}
indexes :rights_list, type: :object, properties: {
rights: { type: :keyword },
rightsUri: { type: :keyword }
rightsUri: { type: :keyword },
lang: { type: :keyword }
}
indexes :subjects, type: :object, properties: {
subject: { type: :keyword },
subjectScheme: { type: :keyword },
schemeUri: { type: :keyword },
valueUri: { type: :keyword }
valueUri: { type: :keyword },
lang: { type: :keyword }
}
indexes :container, type: :object, properties: {
type: { type: :keyword },
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/_version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Lupo
class Application
VERSION = "2.3.6"
VERSION = "2.3.7"
end
end

0 comments on commit ffc60ed

Please sign in to comment.