Hey guys,

I'm using Apache solr search module to implement my site search. I able to setup the Apache Solr Search module and now my search is working as I need. Now I'm trying to implement an search autocomplete with the help of Apache Solr Autocomplete module, but the thing is this module gives all the keywords as suggestions. I'm trying to show the node titles as suggestion list rather than keywords. After some research finally I found this tutorial, they trying to override the core module by replacing the functions which I don't recommend. Anyhow I have no other options and I give it a try, It seems to be work but now I'm stuck with an AJAX HTTP error (500). And I found 4 error messages in my drupal error log:-

Notice: Undefined index: facet.prefix in apachesolr_autocomplete_suggest() (line 461 of /home/test/webroot/sites/all/modules/apachesolr_autocomplete/apachesolr_autocomplete.module).

Warning: Invalid argument supplied for foreach() in apachesolr_autocomplete_suggest() (line 470 of /home/test/webroot/sites/all/modules/apachesolr_autocomplete/apachesolr_autocomplete.module).

Notice: Trying to get property of non-object in apachesolr_autocomplete_suggest() (line 470 of /home/test/webroot/sites/all/modules/apachesolr_autocomplete/apachesolr_autocomplete.module).

Notice: Undefined property: stdClass::$payslip in apachesolr_autocomplete_suggest() (line 469 of /home/test/webroot/sites/all/modules/apachesolr_autocomplete/apachesolr_autocomplete.module).

I'm using :-
Apache Solr Search 7.x-1.8
Apache Solr Autocomplete 7.x-1.6
solr-4.5.1

I guess this tutorial almost doing the job I looking for, unfortunately they no longer providing support or any response to the comments. Is anyone able to figure out a way to implement this cool functionality? As I'm running out of time, Even if anyone come up with a licence version, It'll be awesome and hope very useful in the future. Thanks guys.

Comments

krrishnajee created an issue.