Skip to content

Commit

Permalink
Revert "add file_version_use_statement to index"
Browse files Browse the repository at this point in the history
This reverts commit dd67b0a.
  • Loading branch information
nh48 committed Dec 2, 2020
1 parent 1ebbbdd commit 176e8d5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions indexer/common_indexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ class IndexerCommon
}.compact
end

# File Version Record added for v2.8.1
if record['record']['file_version']
doc['file_version_use_statement_u_ustr'] = record['record']['file_version']['use_statement']
end

# Collection Management Record
if record['record']['collection_management']
doc['collection_management_processing_priority_u_ustr'] = record['record']['collection_management']['processing_priority']
Expand Down Expand Up @@ -87,7 +82,6 @@ class IndexerCommon
end
}


# Index user defined fields
indexer.add_document_prepare_hook {|doc, record|
if record['record']['user_defined']
Expand Down Expand Up @@ -131,4 +125,4 @@ def self.fuzzy_time_parse(time_str)
end
end

end
end

0 comments on commit 176e8d5

Please sign in to comment.