From 5a4995ded3d366c4b3a21737a37d05fa1301531f Mon Sep 17 00:00:00 2001 From: reger Date: Thu, 14 Aug 2014 03:06:41 +0200 Subject: [PATCH] fill solr rss writer dc:subject tag with keyword content --- .../solr/responsewriter/OpensearchResponseWriter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/net/yacy/cora/federate/solr/responsewriter/OpensearchResponseWriter.java b/source/net/yacy/cora/federate/solr/responsewriter/OpensearchResponseWriter.java index f01e4d53d..7d39e54bc 100644 --- a/source/net/yacy/cora/federate/solr/responsewriter/OpensearchResponseWriter.java +++ b/source/net/yacy/cora/federate/solr/responsewriter/OpensearchResponseWriter.java @@ -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"); }