-
Notifications
You must be signed in to change notification settings - Fork 0
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
dlc-1140 enable fulltext on Carnegie site #225
Conversation
end | ||
|
||
it 'only includes the field values in facet.field' do | ||
expect(config.search_fields['fulltext_tesim']).to be_a Blacklight::Configuration::SearchField |
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.
A background info question: if the flag was not working as expected, what value would config.search_fields['fulltext_tesim'] return?
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.
hmm if the default was not working it would presumably be nil. It's an added feature here that only applies in two contexts: the Carnegie site and the Carnegie Centennial site; the latter shares all of the configuration except the fulltext field. Semantically it seemed preferable to have the explicit behavior be to suppress the fulltext option.
described_class.configure(config, fulltext: false) | ||
end | ||
|
||
it 'only includes the field values in facet.field' do |
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.
did you intend for this test to also say that it 'only includes the field values in facet.field' or was that a copy error?
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.
Aargh! I'll fix this in a separate commit.
https://dlc-staging.library.columbia.edu/carnegie?search_field=fulltext_tesim&q=annual+report