Hi everybody,

I have a meta tag with a comma separated list of values. Is it possible to put 
that as multi value field to a Solr index?

The meta tag looks like this:
<meta name="ORIGIN" content="de,us,be,in,il,it" />

Currently the whole content of ORIGIN is saved in Solr as single value:
"countries_stringM": [
        "de,us,be,in,il,it"
],

My nutch-site.xml looks like this:
<property>
  <name>metatags.names</name>
  <value>origin</value>
</property>

<property>
  <name>index.parse.md</name>
  <value>metatag.origin</value>
</property>

In solrindex-mapping.xml I've added this mapping:
<field source="metatag.origin" dest="countries_stringM" />

I’m really thankful for any hints!

Cheers
Peter

Reply via email to