Reviewing the key/value structure of JSON, I came across this discussion on Parsing JSON with hyphenated key names, I thought the same would hold true for mine. That said, I’ve augmented the Stackoverflow suggestion slightly to leverage underscores versus dot syntax and came up with the following:
/* For schema.xml on Nutch and Solr */ <field name="metatag_description" type="text_general" stored="true" indexed="true"/> <field name="metatag_keywords" type="text_general" stored="true" indexed="true"/> /* For solrindex-mapping.xml on Nutch */ <field dest="metatag_description" source="metatag.serptitle"/> <field dest="metatag_keywords" source="metatag.serpdescription"/>
This was implemented on Nutch 1.7 on a Solr 4.5.0 instance.
Please refer to the following for context: