Adam Wead
Adam Wead
::solr_escape which is now replacing the deprecated ::escape has one difference: ``` > RSolr.escape("foo bar") => "foo\\ bar" > RSolr.solr_escape("foo bar") => "foo bar" ``` Is this significant? Or are...
Failing example: ``` > library.books.count => 2 > library.books.select([:id]) => NoMethodError Exception: private method `select' called for # ```
Now that `.load_instance_from_solr` is gone, is `LoadableFromJson` still relevant?
ActiveFedora::WithMetadata::DefaultSchema has EBUCore dates for date created and date modified, however, Fedora is using Fcrepo4 predicates for these. This seems like a bug.
Once an object is persisted, it is not possible to change its RDF types. See the referenced commit that demonstrates the error.
This demonstrated here: https://github.com/projecthydra/active_fedora/tree/uri-metadata Given a simple model: ``` ruby class BookTitle < ActiveFedora::Base property :label, predicate: ::RDF::Vocab::SKOS.prefLabel end class Book < ActiveFedora::Base property :title, predicate: ::RDF::Vocab::DC.title, class_name: "BookTitle" end...
ActiveFedora::File objects can contain metadata, but it is not indexed in Solr. There needs to be documentation about how to do that. The current strategy is to index the metadata...
Any ldp resource from Fedora has a `repository#created` and `repository#lastModified` property. We should be able to return that value whether it is a file, object, metadata path, or version, and...
When trying to using MetadataNode to write values to the fcr:metadata resource, ChangeSet throws an error. ``` > obj.thumbnail.metadata.set_value(ActiveFedora::RDF::Fcrepo4.created, Date.today) => nil > obj.thumbnail.metadata.get_values(ActiveFedora::RDF::Fcrepo4.created) => [Fri, 16 Jan 2015] >...
We can read and write RDF properties to a datastream via the `/fcr:metadata' URI in Fedora. However, these terms are not solrized. We will need some mechanism or algorithm for...