Download & Extend

Integration with ApacheSolr Search

Project:Search 404
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

This patch add the integration with ApacheSolr Search instead the default node search.
It just detects if the apachesolr_search is installed and then use this for searching instead de node search, if it is not installed it just follows the standard behavior.

AttachmentSize
search404_module.patch1.8 KB

Comments

#1

Confirmed, patch works perfectly.

#2

Hi jcmarco

Thank you for the patch, we have integrated the patch into the latest commit of the dev.

Let us know if things are fine

Regards
Zyxware

#3

I can't get this to work. I tried both the 1.7 and dev releases, I have ApacheSolr search up and running just fine on my site, but typing in a 404 URL just performs a search with Drupal's standard search.

I also don't see any ApacheSolr settings on Search404's configuration page.

#4

I also can't get it to work. I am using the 1.7 release - apachesolr is working fine on my site.

I found the following weird behaviour:
As long as I use a preconfigured theme, e.g. garland, the module works as expected. After I copied search-results.tpl.php to the theme's directory, I don't get any more search results on the 404 page.
Even more weird is that the module works on my laptop (windows), but does not work on the production site (debian).

Is this a bug or am I doing something bascially wrong?

Thanks - Florian

#5

I am using Search 404 6.x-1.7 with a Zen (2.x-dev) sub-theme and it is working fine.
I am not theming the Apachesolr results with any search-result.tpl.php but if you have copied it,
remember to reset the theme registry.

#6

Can I mark this ticket as fixed since you have mentioned that search404 worked in a sub theme?

Regards
Santhosh Raju

#7

Status:needs review» fixed

Marking as fixed. Please feel free to reopen if it is otherwise.

#8

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#9

I'm using the 1.9 release... And I'm unable to get this to use Solr on any theme, garland or otherwise.

#10

Status:closed (fixed)» active

Oh, forgot to open this back up again. Sorry about that.

#11

Do you still have problems with Apache Solr integration? #773428: Apache Solr "Did you mean" loses search parameter from 404 page - indicates that people are using this module with Apache Solr.

nobody click here