fill solr rss writer dc:subject tag with keyword content

pull/1/head
reger 11 years ago
parent 564f1cf6d3
commit 5a4995ded3

@ -248,8 +248,8 @@ public class OpensearchResponseWriter implements QueryResponseWriter {
removeSubsumedTitle(snippet, title);
solitaireTag(writer, tagname, getLargestSnippet(snippet)); // snippet may be size=0
}
// open: where do we get the subject?
//solitaireTag(writer, DublinCore.Subject.getURIref(), ""); // TODO: fill with actual data
solitaireTag(writer, DublinCore.Subject.getURIref(), doc.get(CollectionSchema.keywords.getSolrFieldName()));
closeTag(writer, "item");
}

Loading…
Cancel
Save