-
Notifications
You must be signed in to change notification settings - Fork 256
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
Configuration-driven, "format" specific index and show fields #523
Comments
To me, putting this in sounds like over-engineering. BL already has too It's easy enough to do this with different templates, that ought to be Different apps are going to have different needs (this particular need On 1/15/2013 6:16 PM, Chris Beer wrote:
|
Just my $.02 on this (and the disagreement expressed in #522). We provide the facility to render different templates based on a the document_partial_name (or whatever that method is these days). However; we don't have the facility to have separate field configurations for those different partials. This causes an issue when you have an application that has mixed content. As an example, if we had a solr index w/ mixed content of books and digital images we may want to put information about the "authors" of the items in the same solr field for searching and boosting purposes. However; the digital image's author may be describing a lithographer and the book is describing an author. We would probably want to configure different labels based on the format of the item (not necessarily based solely on the field name). I understand that we could do this at the application level (and currently we have), however since we provide the facility to have object specific partials having object specific field configurations for those partials seems sensical. It's not like we're adding a feature for one applications specific case, we're discussing this feature to mimic the architecture we already have. Clearly people will disagree and argue ad nauseam about this, so this is probably where I'll drop my opinion. |
I still think this is over-engineered and would be better off as local customization for those who need it. shrug. |
I'm not sure what you're complaining about. Here's the info from the merge commit (should have been on the source commit, oh well:)
This patch just has Blacklight pass around the information needed to make those decisions (which, in part, it was already doing using the ivar |
We want to be able to show different fields depending on the type of object ("format"). This is possible now by using different templates for each object type, but we might be too lazy if there's a way to support it in Blacklight.
The text was updated successfully, but these errors were encountered: