app/services/hyrax/file_set_derivatives_service.rb
# Calls the Hydra::Derivates::FulltextExtraction unless the extract_full_text
# configuration option is set to false
# @param [String] filename of the object to be used for full text extraction
# @param [String] uri to the file set (deligated to file_set)
Calls the Hydra::Derivates::FulltextExtraction unless the extract_full_text
configuration option is set to false
Calls the Hydra :: Derivates :: FulltextExtraction unless the extract_full_text configuration option is set to false
def extract_full_text(filename, uri)
        return unless Hyrax.config.extract_full_text?
        Hydra::Derivatives::FullTextExtract.create(filename,
                                                   outputs: [{ url: uri, container: "extracted_text" }])
      end
def extract_full_text ( filename , uri ) return unless Hyrax . config . extract_full_text? Hydra :: Derivatives :: FullTextExtract . create ( filename , outputs : [ { url : uri , container : "extracted_text" } ] ) end
Calls the Hydra::Derivates::FulltextExtraction unless the extract_full_text
configuration option is set to false
Calls the Hydra :: Derivates :: FulltextExtraction unless the extract_full_text configuration option is set to false
filename
<not_specific>
uri
<not_specific>
<not_specific>
uri to the file set (deligated to file_set)
uri to the file set ( deligated to file_set )