Skip to content

Commit

Permalink
Merge pull request #922 from OregonDigital/feature/waterbasinandpages
Browse files Browse the repository at this point in the history
Feature/waterbasinandpages
  • Loading branch information
lsat12357 committed Dec 4, 2015
2 parents ce3f746 + 57545fc commit 9a46867
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/models/datastream/oregon_rdf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ def self.resource_class
property :rangerDistrict, :predicate => OregonDigital::Vocabularies::OREGONDIGITAL.rangerDistrict, :class_name => OregonDigital::ControlledVocabularies::Geographic do |index|
index.as :searchable, :facetable, :displayable
end
property :waterBasin, :predicate => OregonDigital::Vocabularies::OREGONDIGITAL.waterBasin, :class_name => OregonDigital::ControlledVocabularies::Geographic do |index|
index.as :searchable, :facetable, :displayable
end
property :tgn, :predicate => OregonDigital::Vocabularies::OREGONDIGITAL.tgn, :class_name => OregonDigital::ControlledVocabularies::GettyTGN do |index|
index.as :searchable, :facetable, :displayable
end
Expand Down Expand Up @@ -530,6 +533,9 @@ def self.resource_class
property :hasNumber, :predicate => RDF::URI('http://sw-portal.deri.org/ontologies/swportal#hasNumber') do |index|
index.as :displayable
end
property :onPages, :predicate => RDF::URI('http://sw-portal.deri.org/ontologies/swportal#onPages') do |index|
index.as :displayable
end


def to_solr(solr_doc = Hash.new)
Expand Down

0 comments on commit 9a46867

Please sign in to comment.