Class: Hydra::Derivatives::Processors::FullText

Inherits:
Processor
  • Object
show all
Defined in:
lib/hydra/derivatives/processors/full_text.rb

Overview

Extract the full text from the content using Solr’s extract handler

Instance Attribute Summary

Attributes inherited from Processor

#directives, #output_file_service, #source_path

Instance Method Summary collapse

Methods inherited from Processor

#initialize, #output_file, #output_filename_for

Constructor Details

This class inherits a constructor from Hydra::Derivatives::Processors::Processor

Instance Method Details

#processTrueClass, FalseClass

Run the full text extraction and save the result

Returns:

  • (TrueClass, FalseClass)

    was the process successful.



6
7
8
# File 'lib/hydra/derivatives/processors/full_text.rb', line 6

def process
  output_file_service.call(extract, directives)
end