Uploaded image for project: 'VIVO'
  1. VIVO
  2. VIVO-1694

Faceted browsing in browse and search page - Cineca custom

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: v1.10
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      2

      Description

      The Cineca Faceted browsing functionality:  object oriented decomposition:

      1)

      new DocumentModifier based on json configuration file that can add new fields to the document (SOLR) with a recoursive approach:

      configuration example:

       

      { 
         "solr":"principal-investigator",
         "qualifiedByDomain": "http://vivoweb.org/ontology/core#Project",
         "configContextFor": "http://purl.obolibrary.org/obo/BFO_0000055",
         "qualifiedBy": "http://vivoweb.org/ontology/core#ResearcherRole",
           "pivotsIndexProperty":{
            "configContextFor": "http://purl.obolibrary.org/obo/RO_0000052",
            "qualifiedBy": "http://xmlns.com/foaf/0.1/Person",
            
             "pivotsIndexProperty":{
              "configContextFor": "http://www.w3.org/2000/01/rdf-schema#label",
              "qualifiedBy": null,
             },
           },
        },
      
      

       

      2) SearchQuery improvment to process the new fields  grouped by type and classgroup,

      solr query :

       

      
      q= .....
      &facet=true
      &facet.pivot=type,freetextKeyword_facets
      &facet.pivot=type,Position_facets
      
      
      

       

      3) view-template improvment to show the facets values and add filters

       

      I think we can start to share the code for the DocumentModifier with a PR and then we make a decision if this is the rigth approach for the community code base.

       

       

       

       

       

       

       

       

       

        Attachments

          Activity

            People

            • Assignee:
              alessandrogalasso alessandro galasso
              Reporter:
              alessandrogalasso alessandro galasso
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: