app/indexers/nyc_government_publication_indexer.rb
# Uncomment this block if you want to add custom indexing behavior:
Uncomment this block if you want to add custom indexing behavior.
Uncomment this block if you want to add custom indexing behavior .
def generate_solr_document
   super.tap do |solr_doc|
     solr_doc['title_ssi'] = object.title
     solr_doc['agency_ssi'] = object.agency
     solr_doc['date_published_ssi'] = object.date_published
   end
  end
def generate_solr_document super . tap do | solr_doc | solr_doc [ 'title_ssi' ] = object . title solr_doc [ 'agency_ssi' ] = object . agency solr_doc [ 'date_published_ssi' ] = object . date_published end end
Uncomment this block if you want to add custom indexing behavior:
Uncomment this block if you want to add custom indexing behavior :