Skip to content

Inms search facets

Rod Scott requested to merge INMS-facets into develop

Overview

I have done two things:

  1. I have added search facets for the INMS catalogue.
  2. I have simplified the Solr indexing of keywords.

INMS Facets

I have added new search facets to the INMS catalogue:

  • model type
  • demonstration region

And reused three CaMMP facets

  • scale
  • topic
  • pollutant

ServiceConfig the INMS catalogue has had facetKeys added that correspond to the new facets created in HardcodedFacetFactory

SolrIndex & schema.xml added the 2 new fields required to the index for the inms catalogue.

HardcodedFacetFactory is were the new facets are defined

Simplified Solr indexing of keywords

ServiceConfig removed the registration of SolrIndex generators for ImpDocument, CehModel & CehModelApplication as these SolrIndex generators have been deleted.

SolrIndexCehModelGenerator, SolrIndexImpDocumentGenerator deleted and SolrIndexGeminiDocumentGenerator removed lots of SolrIndex set methods. What was indexed in these classes are now indexed in SolrIndexMetadataDocumentGenerator

Tests

Tests for deleted classes have been removed and the test transferred to SolrIndexMetadataDocumentGeneratorTest

Merge request reports

Loading