Skip to content

Commit

Permalink
don't index citation
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Nov 18, 2019
1 parent 74f1c09 commit 8d572ff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/models/doi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ class Doi < ActiveRecord::Base
indexes :source, type: :keyword
indexes :prefix, type: :keyword
indexes :suffix, type: :keyword
indexes :citation, type: :text
indexes :reason, type: :text
indexes :landing_page, type: :object, properties: {
checked: { type: :date, ignore_malformed: true },
Expand Down Expand Up @@ -446,7 +445,6 @@ def as_indexed_json(options={})
"aasm_state" => aasm_state,
"schema_version" => schema_version,
"metadata_version" => metadata_version,
"citation" => citation,
"reason" => reason,
"source" => source,
"cache_key" => cache_key,
Expand Down

0 comments on commit 8d572ff

Please sign in to comment.