Closed (fixed)
Project:
Apache Solr Search
Version:
6.x-1.x-dev
Component:
More Like This
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Feb 2009 at 20:04 UTC
Updated:
3 Jan 2014 at 00:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pwolanin commentedA 6.x patch would be appreciated, since we are focusing active development there.
Comment #2
hurleyit commentedI will try to do one, the issue is the site I'm using this on is Drupal 5 and I don't have a Drupal 6 site using apachesolr yet.
Comment #3
hurleyit commentedOk, I think I have a patch for 6 that will work, but I don't have a drupal 6 site that I can use to test it on where I can get matching documents. Should I create a new bug report for that patch and is there a way I could hook up a drupal 6 test site up to the beta of acquia's hosted solr project to test fully?
Comment #4
janusman commentedPlease post the patch so someone (me?) can look into it =)
If you have any ideas about other theming functions, please post =)
Comment #5
hurleyit commentedHere is the one against the 6-dev version. Like I mentioned, I haven't been able to test fully, but if there are any issues, I will try to fix them.
Comment #6
pwolanin commentedlooks ok, though I'd prbably code:
count($r) > 0as
Comment #7
davidseth commentedThis patch works great! Just what I needed, more powerful MLT blocks so I can do something more than just display a list. Please commit :)
Thanks.
Comment #8
davidseth commentedComment #9
Anonymous (not verified) commentedTested patch. It works with beta 5 in that the code is valid, but of course will deliver some errors with the current MLT block, namely:
recoverable fatal error: Object of class Apache_Solr_Document could not be converted to string in /var/www/html/mysite/includes/theme.inc on line 1490....which is to be expected.
I think this is the way to go. I know I need that NID to get my pictures and item pricing to appear without having to jump through hoops.
Comment #10
pwolanin commentedLooks basically fine - please try to roll patches from the root of the project. Also, use the issue# in the patch file name for bonus points.
The patch fails, looks like there is a conflicting commit. Here's a new version to test.
Comment #11
pwolanin commentedAnyone had a chance to test this?
Comment #12
Anonymous (not verified) commentedNot yet, but I will tomorrow afternoon.
Comment #13
Anonymous (not verified) commentedTested patch, works great. This is exactly what we needed.
This is a more flexible solution IMO.
Comment #14
pwolanin commentedlooks ok, but will need work for multi-site.
committed to 6.x
Comment #15
pokadan commentedGood stuff. I was just about to request this feature/improvement..
Kudos to you guys..