private static void addURIs(SolrInputDocument doc, Set<URI> set, SolrName field) { if (set == null || set.size() == 0) { return; } for (URI u : set) { setadd(doc, field, u.toString()); } }
private static void addSecondaryDataLocationSet( SolrInputDocument doc, Set<SeadDataLocation> set) { if (set == null || set.size() == 0) { return; } for (SeadDataLocation dl : set) { setadd(doc, SeadSolrField.DataLocationField.NAME, dl.getName()); setadd(doc, SeadSolrField.DataLocationField.TYPE, dl.getType()); setadd(doc, SeadSolrField.DataLocationField.LOCATION, dl.getLocation()); } }