-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Identify base dewey call number and generate shelf keys #353
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, this is fine. I have some comments but most of that is directed towards refactoring, and it may be too early to tell.
bf04098
to
15de925
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have one more change, and another suggestion. We don't have to do the LC/Dewey into Base merge, but I have a feeling that's where we're headed, but I will differ to you if you think it's too early to make that call.
7eb7937
to
2bfc029
Compare
6964d22
to
132b415
Compare
code climate never happy 😒 never easy going 😄 It is nagging for the call number class having 1 method more than allowed which is 20. sigh @awead I created an issue off of it and I am OK to go with it as is unless you think otherwise. I was gonna mark it as confirmed to get the CI to pass but for some reason it does not let me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! I'm glad to see my suggestions actually worked. 😄 Just one suggestion, in response to your question about the classification parameter. Otherwise, I think this is ready to go.
I just updated the PR so it merges to a preview branch to test it with sample records but after that check I am fine with this to be merged to main so we can do the further tests in QA with a full index. I feel comfortable since the browse feature is just soft released and the browse related Solr fields not affecting other existing fields. |
3ab17d4
to
ced3fa0
Compare
number for Dewey classifications. Using the Lcsort gem, creates shelf keys for dewey numbers to sort in forward and reverse directions.
ced3fa0
to
dfaed7b
Compare
Using the Lcsort gem, creates shelf keys for dewey numbers to sort in forward and reverse directions.
Building off of Stanford's traject repository, determines a base call number for Dewey classifications.
Currently experimenting with Lcsort gem to generat shelf keys for dewey numbers using the same method as LC numbers but needed to add a prefix to get them to be valid for lcsort. We can discuss about this approach, the other possibility is to implement our own dewey shelf key generator.