Class: DorIndexing
- Inherits:
-
Object
- Object
- DorIndexing
- Defined in:
- lib/dor_indexing.rb,
lib/dor_indexing/version.rb,
lib/dor_indexing/marc_country.rb,
lib/dor_indexing/workflow_fields.rb,
lib/dor_indexing/repository_error.rb,
lib/dor_indexing/builders/name_builder.rb,
lib/dor_indexing/builders/orcid_builder.rb,
lib/dor_indexing/builders/topic_builder.rb,
lib/dor_indexing/indexers/basic_indexer.rb,
lib/dor_indexing/workflow_solr_document.rb,
lib/dor_indexing/builders/author_builder.rb,
lib/dor_indexing/selectors/event_selector.rb,
lib/dor_indexing/builders/document_builder.rb,
lib/dor_indexing/builders/temporal_builder.rb,
lib/dor_indexing/indexers/workflow_indexer.rb,
lib/dor_indexing/indexers/composite_indexer.rb,
lib/dor_indexing/indexers/workflows_indexer.rb,
lib/dor_indexing/builders/event_date_builder.rb,
lib/dor_indexing/builders/geographic_builder.rb,
lib/dor_indexing/indexers/releasable_indexer.rb,
lib/dor_indexing/selectors/pub_year_selector.rb,
lib/dor_indexing/builders/event_place_builder.rb,
lib/dor_indexing/indexers/identifiable_indexer.rb,
lib/dor_indexing/indexers/object_files_indexer.rb,
lib/dor_indexing/indexers/role_metadata_indexer.rb,
lib/dor_indexing/builders/publisher_name_builder.rb,
lib/dor_indexing/builders/all_search_text_builder.rb,
lib/dor_indexing/indexers/rights_metadata_indexer.rb,
lib/dor_indexing/indexers/collection_title_indexer.rb,
lib/dor_indexing/indexers/embargo_metadata_indexer.rb,
lib/dor_indexing/indexers/workflow_process_indexer.rb,
lib/dor_indexing/indexers/identity_metadata_indexer.rb,
lib/dor_indexing/indexers/administrative_tag_indexer.rb,
lib/dor_indexing/indexers/descriptive_metadata_indexer.rb,
lib/dor_indexing/indexers/default_object_rights_indexer.rb,
lib/dor_indexing/builders/collection_rights_description_builder.rb
Overview
Builds solr documents for indexing.
Defined Under Namespace
Modules: Builders, Indexers, Selectors Classes: MarcCountry, RepositoryError, WorkflowFields, WorkflowSolrDocument
Constant Summary collapse
- VERSION =
'2.1.2'
Class Method Summary collapse
-
.build(cocina_with_metadata:, workflow_client:, cocina_finder:, administrative_tags_finder:, release_tags_finder:) ⇒ Hash
The solr document.
Class Method Details
.build(cocina_with_metadata:, workflow_client:, cocina_finder:, administrative_tags_finder:, release_tags_finder:) ⇒ Hash
Returns the solr document.
19 20 21 22 23 24 25 26 27 28 |
# File 'lib/dor_indexing.rb', line 19 def self.build(cocina_with_metadata:, workflow_client:, cocina_finder:, administrative_tags_finder:, release_tags_finder:) Honeybadger.context({ identifier: .externalIdentifier }) DorIndexing::Builders::DocumentBuilder.for( model: , workflow_client:, cocina_finder:, administrative_tags_finder:, release_tags_finder: ).to_solr end |