ycba-cia / blacklight-collections2

5 stars 2 forks source link

classification facet - use current or try hierarchical? #70

Open yulgit1 opened 6 years ago

yulgit1 commented 6 years ago

The “classification” facet is currently as the first list below as what is now indexed “type_ss”. However there is a field setup for hierarchical facets called “type_facet” generated in a post xslt index step by the following logic:

if doc["type_standard"] and doc["type_parent"] doc["type_facet"][0]=doc["type_parent"][0] doc["type_facet"][1]=doc["type_parent"][0]+":"+doc["type_standard"][0] end

@flapka @edgartdata Should we continue to use type_ss, or try to implement the hierarchical facet: https://github.com/sul-dlss/blacklight-hierarchy

Type_ss

Books & serials51,717 Print29,946 Drawing & Watercolor19,142 Drawing & Watercolor-Sketchbook2,244 Painting2,087 Frame1,784 Drawing & Watercolor-Architectural1,783 Visual material1,147 Photograph885 Archives & manuscripts698 Maps & atlases (printed)414 Poster317 Three-dimensional artifacts302 Music (printed)245 Sculpture235 Slides & video217 Drawing & Watercolor-Miniature175 Computer files151 Maps & atlases (manuscript)32 Ceramic21 Wedgwood13 Print-printing-plate9 Painted Object5 Manuscript3 Nonmusical sound recordings3 Brass Rubbing2 Model2 Musical sound recordings2 Paint Box2 Silver1

Type_facet Books & serials51,717 Prints & Photographs31,150 Prints & Photographs:Prints29,946 Paintings & Drawings25,431 Paintings & Drawings:Drawings23,344 Paintings & Drawings:Paintings2,087 Furnishings & Decorative Arts1,792 Furnishings & Decorative Arts:Frames1,784 Visual material1,147 Prints & Photographs:Photographs885 Archives & manuscripts698 Maps & atlases (printed)414 Prints & Photographs:Posters317 Three-dimensional artifacts302 Sculptures, Models, etc.271 Music (printed)245 Sculptures, Models, etc.:Sculptures235 Slides & video217 Computer files151 Sculptures, Models, etc.:Ceramics34 Maps & atlases (manuscript)32 Tools, Equipment & Instruments9 Tools, Equipment & Instruments:Writing & Printing Equipment9 Furnishings & Decorative Arts:Painted Objects5 Manuscripts & Archives3 Manuscripts & Archives:Manuscripts3 Nonmusical sound recordings3 Furnishings & Decorative Arts:Containers2 Musical sound recordings2 Prints & Photographs:Brass Rubbings2 Sculptures, Models, etc.:Models2 Furnishings & Decorative Arts:Silver Objects1

flapka commented 6 years ago

I'm agnostic on whether to implement a hierarchical work-type facet. Doing so would require further planning, and I'm not sure I have the time to do so before initial Blacklight implementation.

The more basic issue of improving work type mappings -- for library material -- requires significant modification to the XSLT, which I still hope to do (but it will take time).

edgartdata commented 6 years ago

We only have 3 sub-classifications for the art collection so i don't think it is worth it for now.

yulgit1 commented 6 years ago

OK with tabling hierarchical for now but to make sure we're not conflating, there is 1) the current Classification facet based on type_ss. 2) The proposed hierarchical facet based on a concatenation of "doc["type_parent"][0]:"+doc["type_standard"][0]" 3) the current Worktype facet based on object_name_ss.

I was thinking of (2) as a replacement for the current Classification (1)) But could be called something else in its own right, or maybe replace (3).