Coder Social home page Coder Social logo

dor-fetcher-service's People

Contributors

aaron-collier avatar atz avatar carrickr avatar cbeer avatar jcoyne avatar jmartin-sul avatar justinlittman avatar mjgiarlo avatar ndushay avatar peetucket avatar saravshah avatar sul-devops-team avatar tallenaz avatar tingulfsen avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

atz

dor-fetcher-service's Issues

DOR Fetcher collection call does not return members

DOR Fetcher is getting no results from a membership query for either collections or APOs, e.g.,

https://dorfetcher-prod.stanford.edu/collections/druid:sj775xm6965
https://dorfetcher-prod.stanford.edu/collections/druid:wr005wn5739

The log in production is is showing field names from the old index (e.g., is_member_of_collection_s):

I, [2016-06-30T10:26:27.436466 #7778]  INFO -- : Started GET "/collections/druid:sj775xm6965" for 171.66.28.61 at 2016-06-30 10:26:27 -0700
I, [2016-06-30T10:26:27.440305 #7778]  INFO -- : Processing by CollectionsController#show as JSON
I, [2016-06-30T10:26:27.440482 #7778]  INFO -- :   Parameters: {"id"=>"druid:sj775xm6965"}
I, [2016-06-30T10:26:27.519939 #7778]  INFO -- : Request from 171.66.28.61 to /collections/druid:sj775xm6965 at 2016-06-30 10:26:27 -0700
I, [2016-06-30T10:26:27.520165 #7778]  INFO -- : Solr query: {:q=>"(is_member_of_collection_s:\"info:fedora/druid:sj775xm6965\" OR id:\"druid:sj775xm6965\") AND published_dt:[\"1970-01-01T00:00:00Z\" TO \"9999-12-31T23:59:59Z\"]", :wt=>:json, :fl=>"id AND published_dt AND identityMetadata_objectType_t AND title_t AND public_dc_title_t AND catkey_id_t", :rows=>100000000}
I, [2016-06-30T11:02:21.526456 #25187]  INFO -- : Started GET "/apos/druid:wr005wn5739" for 171.67.45.15 at 2016-06-30 11:02:21 -0700
I, [2016-06-30T11:02:21.527683 #25187]  INFO -- : Processing by AposController#show as JSON
I, [2016-06-30T11:02:21.527752 #25187]  INFO -- :   Parameters: {"id"=>"druid:wr005wn5739"}
I, [2016-06-30T11:02:21.564482 #25187]  INFO -- : Request from 171.67.45.15 to /apos/druid:wr005wn5739 at 2016-06-30 11:02:21 -0700
I, [2016-06-30T11:02:21.564779 #25187]  INFO -- : Solr query: {:q=>"(is_governed_by_s:\"info:fedora/druid:wr005wn5739\" OR id:\"druid:wr005wn5739\") AND published_dt:[\"1970-01-01T00:00:00Z\" TO \"9999-12-31T23:59:59Z\"]", :wt=>:json, :fl=>"id AND published_dt AND identityMetadata_objectType_t AND title_t AND public_dc_title_t AND catkey_id_t", :rows=>100000000}

The correct field names are mostly correct in the solr_terms.yaml in github

  apo_field:         "is_governed_by_ssim"
  collection_field:  "is_member_of_ssim"
  fedora_type_field: "objectType_ssim"
  last_changed:      "published_dttsim"
  title_field:       "title_tesim"
  title_field_alt:   "public_dc_title_tesim"
  catkey_field:      "catkey_id_ssim"

except that "is_member_of_ssim" should be "is_member_of_colleciton_ssim"

Merge purl-fetcher branch

Some 75 commits are outstanding and we want to avoid any complex divergence.

  • Tag master branch with current position in case we need to come back to it,
  • PR (should be fast forwardable),
  • review and merge

There may be downstream considerations to deployment, like allowing us to consolidate 2 existing instances into one.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.