Closed (cannot reproduce)
Project:
Apache Solr Search
Version:
6.x-1.x-dev
Component:
More Like This
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2011 at 03:55 UTC
Updated:
20 Dec 2011 at 19:01 UTC
I have a recommendation block set to exclude nodes of type Forum, but forum posts turn up in the block unless I exclude Forum posts on the apachesolr/settings/apachesolr-contentbias page. It seems individual block search settings are trumped by the general ones? This doesn't seem right since I still want users to be able to search forum posts via the main search page. Possible bug?
Comments
Comment #1
jpmckinney commentedThe general settings prevent nodes of those types from being indexed.
The MTL settings add filters to only return nodes of the chosen types.
Your bug report suggests the MLT settings do not work at all.
Looking at the code, it is unclear why they would not be effective.
Comment #2
pwolanin commentedComment #3
krlucas commentedI am able to reproduce this issue using 6.x-2.x-beta5, Apache Solr 1.4.1 and SolrPhpClient r22.
It appears to be caused by the nesting arrays described here:
http://drupal.org/node/372767#comment-2473798
Modifying the code as described in socki's patch here
http://drupal.org/files/issues/mlt_filter-upd.patch
fixed the issue for me.
It does not look like this change has been committed to the latest 6.x-2.x-dev release.
Comment #4
nick_vhThe 6.x-2.x version has been deprecated. Moving this to 6.x-1.x-dev and closing again.