[TYPO3-Solr] tt_news and SOLR_RELATION

Carola Midde midde at redkiwi.nl
Fri Jul 12 15:43:39 CEST 2013


Hi all,

I have some issues with tt_news and SOLR_RELATION. The fields are empty
after indexing. It seems like everything is setup correctly and just the
same as i did for pages (for pages it's working fine)


This is the typoscript;

plugin.tx_solr {
index {
queue {
 tt_news = 1
tt_news {
fields {
 abstract = short
author = author
changed = tstamp
 content = TEXT
content {
field = bodytext
 stripHtml = 1
}
created = crdate
 description = short
keywords = keywords
pid = pid
 title = title
uid = uid
url = TEXT
 url {
typolink.parameter = 1965
typolink.additionalParams = &tx_ttnews[tt_news]={field:uid}
 typolink.additionalParams.insertData = 1
typolink.returnLast = url
typolink.useCacheHash = 1
   }

category_target_stringM = SOLR_RELATION
 category_target_stringM {
localField = tx_extttnewsdb2_target
multiValue = 1
 }
category_type_stringM = SOLR_RELATION
category_type_stringM {
 localField = tx_extttnewsdb2_informatietype
multiValue = 1
}
 category_keywords_stringM = SOLR_RELATION
category_keywords_stringM {
localField = tx_extttnewsdb2_keywords
 multiValue = 1
}
  }
}
 }
}
}


I setup the same typoscript for the pages, and that works fine;

plugin.tx_solr.index.queue.pages {
  fields {
    nutchHost_stringS = nutchHost_stringS
    category_target_stringM = SOLR_RELATION
    category_target_stringM {
      localField = tx_rknibudcategories_categorisation_target
      multiValue = 1
    }
    category_type_stringM = SOLR_RELATION
    category_type_stringM {
      localField = tx_rknibudcategories_categorisation_informatietype
      multiValue = 1
    }
    category_keywords_stringM = SOLR_RELATION
    category_keywords_stringM {
      localField = tx_rknibudcategories_categorisation_keywords
      multiValue = 1
    }
  }
}

Someone has an idea?

Greetings,

-- 
Carola Midde


More information about the TYPO3-project-solr mailing list