Closed (fixed)
Project:
Apache Solr Autocomplete
Version:
7.x-1.1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2011 at 07:11 UTC
Updated:
19 Aug 2011 at 02:25 UTC
Jump to comment: Most recent file
Comments
Comment #1
janusman commentedRight, there have been recent changes in ApacheSolr for D7; could you specify what version of ApacheSolr Search you're using?
Comment #2
egarias commentedOk I just upgraded yesterday to 7.x-1.0-beta4
Comment #3
domagoj.barisic commentedSame here, after upgrade to 7.x-1.0-beta4 autocomplete stopped working
Comment #4
brz commentedSubscribe
Comment #5
askibinski commentedI'm using beta 7 of the apachesolr module and the latest dev of autocomplete. This combination is broken. Version 1.1 is also incompatible with beta 7.
I believe the $params api might have changed? This is from Solr_Base_Query.php:
Comment #6
drasgardian commentedI ran into the same problem. Attached is a patch to bring apachesolr_autocomplete into line with being compatible with apachesolr_7.x-1.0-beta8
Comment #7
drasgardian commentedsorry, this patch file should be a bit cleaner.
Comment #8
egarias commentedtested and works
Comment #9
drasgardian commentedLooking back at this again today I think it still needs a bit of work. The first row of my autocomplete results is indicating that there's 146 instances of anything I type into the search box (there's 146 indexed nodes on my site).
Comment #10
egarias commentedYou are right, same here, an the rest of matches shows 1 result and the link doesn't work. sorry for my optimism
Comment #11
janusman commentedRelated: #1218964: apachesolr module renamed hook_apachesolr_modify_query to hook_apachesolr_query_alter
Comment #12
janusman commentedPatch for review. This patch also includes fix for #1203772: numFound - incorrect Number of Found results.
Comment #13
askibinski commentedSeems to works, even get "do you mean" suggestions.
Need some more testing probably though. And I'm not sure how it works with short strings.
For example:
1. When I type "tes" I get one suggestion for "Testmanagement".
2. When I add an additional '"t" thus making the string "test", I get suggestions for several "test [words]". (search string + space + suggestions)
3. When I click on one of these suggestions I get results without the string "test" it seems. (of course searching
I know it's a little difficult to explain...
Comment #14
janusman commentedCommitted!