Running the latest crawl from Nutch to SOLR 5.4.1 it seems that my copy fields 
do not work as expected anymore. 

<field name="metatag.doctype" type="text_general" stored="true" indexed="true" 
multiValued="false" default="Other" /> 
<field name="facet_metatag_doctype" type="string" stored="true" indexed="true" 
/> 
<copyField source="metatag.doctype" dest="facet_metatag_doctype" /> 


Why would copyField ignore the default all of a sudden? 

I've not made any significant changes to SOLR and none at all to nutch. 
{
  "response":{"numFound":699,"start":0,"docs":[
      {
        "metatag.doctype":"Articles",
        "facet_metatag_doctype":"Articles"}, 
_snipped a bunch of articles _ 
{
        "metatag.doctype":"Dispatches",
        "facet_metatag_doctype":"Dispatches"}, 

_snipped a bunch of Dispatches_
      
      {
        "metatag.doctype":"Other"},
      {
        "metatag.doctype":"Other"},
      {
        "metatag.doctype":"Other"},
      {
        "metatag.doctype":"Other"},
      {
        "metatag.doctype":"Other"} 

_snipped a bunch of Other_
      ]
  },
  "facet_counts":{
    "facet_queries":{},
    "facet_fields":{
      "facet_metatag_doctype":[
        "Dispatches",38,
        "Articles",33]},
    "facet_dates":{},
    "facet_ranges":{},
    "facet_intervals":{},
    "facet_heatmaps":{}}} 

Reply via email to