Project:Sphinx (Sphinx search integration)
Version:5.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:axel
Status:closed (fixed)

Issue Summary

Hi, johsw.

I upgraded module to Drupal 6. Work based on release from 25 september 2008. New version not well tested and unfortunately I need switch to other works now and don't know, when I may return to module testing. I tested base function with my sphinx installation - search results shows. I upload Drupal 6 version here and patch for converting 5.x version. Hope it will useful.

AttachmentSize
sphinx-5to6.patch88.89 KB
sphinx-6.x-1.0-dev.tar_.gz26.19 KB

Comments

#1

Cool! I'm looking forward to taking a look at it.

Thank you very much!

Best,
/Johs.

#2

Status:needs review» closed (fixed)

#3

This module is great, easier to setup, easier to custom comparing with the other sphinx module. Good job.
But sadly the drupal6 version is not working well on my website. Iam using the latest development 2009-Sep-24. I have made some modification to the module so it can be running good on drupal6.

here are some modification, sorry i dont know how to create patch so i have attach the files as zip here
also i have add example of my sphinx configuration (well at the first time it is difficult to configure sphinx, i hope it will help anyone who have similar problem)

sphinx.install
1. fix table created not using prefix {..}

sphinx.module
1. I cannot find where sphinx_searchbox_top_of_page and sphinx_searchbox_bottom_of_page configuration, so i change sphinx_searchbox_top_of_page to true by default, and sphinx_searchbox_bottom_of_page set to false by default.
2. function _sphinx_get_clint doesnt have SetServer
3. on sphinx_menu(), change sphinx.admin.inc.php to sphinx_admin.inc.php
4. fix theme_sphinx_results

sphinx_admin.inc.php
1. on all function called by drupal_get_form, add new parameter $form_state
2. on all function called by drupal_get_form, on _submit, change $form_values to $form_state, and add new variable $form_values = $form_state['values'];
3. add new variable display_type (called on sphinx.module but nowhere to define) on sphinx_index_edit()
4. add $client->SetServer($host, $port); on every $client->_Connect()

sphinx_facet.module
1. why facet link user is using $u->profile_navn ? it should be using $u->name;

thanks
Rizqi

AttachmentSize
sphinx-6.x-1.0-dev.zip 42.63 KB

#4

Status:closed (fixed)» needs review

Please review module above #3 :-)

Thanks
Rizqi

#5

Status:needs review» fixed

We already have an estable version 6.x-1.2.

~Nestor

#6

Status:fixed» closed (fixed)

Closing ticket