Hi,

I'm using Apache Solr Search Integration to index cck nodes with fields provided by field_kaltura module. I noticed that the javascripts that written to the node body by the kaltura_replace_tags were being indexed. They were also showing up as node content in the search results snippets. I haven't tested core search yet, but I wonder if it has the same issue?

Anyway, I'm attaching this patch which uses the drupal_add_js function instead of writing javascript directly to the body text. It solves the issue for me. If it seems workable, it would be nice to have committed.

Thanks,
Travis

Comments

xurizaemon’s picture

Status: Active » Needs review
Issue tags: +theme layer, +Cleanup

This looks good to me, but I haven't tested it yet.

xurizaemon’s picture

StatusFileSize
new2.74 KB

rerolling for 6.x-2.x

avpaderno’s picture

Version: 6.x-2.0-beta1 » 6.x-2.x-dev
Issue summary: View changes
Status: Needs review » Closed (outdated)
Issue tags: -theme layer, -Cleanup, -apache solr

I am closing this issue, which was created for a project version compatible with a Drupal release no longer supported. Feel free to re-open the issue, if it is still relevant for a project version compatible with a supported Drupal release.