Module: Sphinx Search
Posted by Martijn van Maasakkers
All files from this thread
File Name | File Size | Posted by | Date | ||
---|---|---|---|---|---|
sphinx_search_1.0.0.tar.gz | 12.1 KB | open | download | Martijn van Maasakkers | 03/05/2009 | Read message |
March 05, 2009 08:56AM |
Registered: 14 years ago Posts: 31 |
Thomas Seiffert created the Sphinx Search module for Phorum 5.1, and because we're going to integrate sphinx into our system I updated this module.
Read the README file for instructions and for questions... just ask me...
Edited 1 time(s). Last edit at 03/05/2009 08:58AM by Joe Curia.
Read the README file for instructions and for questions... just ask me...
Changelog: ---------- 2009-03-05 v1.0.0 by Martijn van Maasakkers (martijn@vanmaasakkers.net) - Mar 05, 2009 - Update version for use with PHORUM 5.2 - Added settings page where you can set the hostname and port of the sphinx daemon 2007-04-24 v0.9.2 by Thomas Seifert (thomas@phorum.org) - limited results to 1000 - some security for the forum_id 2006-12-02 v0.9.1 by Thomas Seifert (thomas@phorum.org) - Updated to sphinx 0.9.7, added delta indexes and a host-ip 2006-10-13 v0.9 by Maurice Makaay (maurice@phorum.org) - Return search control to the Phorum search script in case an unhandled type of search is encountered (e.g. the USER_ID search type for Phorum 5.2). 2006-09-13 v0.8 by Maurice Makaay (maurice@phorum.org) - little hack in SetGroups of the sphinxapi.php script to not deny group 0 (is_int(0) is false, but we can have 0 for announcements) - if no results are found, return empty results immediately (before, no results would trigger undefined index warnings) - changed example config in README to use settings inheritance 2006-09-07 v0.7 - received some more testing and hence ... - fix for date-order 2006-07-13 v0.5 - first implementation, without admin interface
Edited 1 time(s). Last edit at 03/05/2009 08:58AM by Joe Curia.
Re: Module: Sphinx Search May 20, 2009 05:09AM |
Registered: 14 years ago Posts: 59 |
Re: Module: Sphinx Search May 20, 2009 05:54AM |
Admin Registered: 20 years ago Posts: 9,240 |
Re: Module: Sphinx Search May 20, 2009 07:04AM |
Registered: 14 years ago Posts: 59 |
Yes, sorry I've posted to 5.1 forum. I guess this is better. This sphinx_serch is version: 1.0.0.
In particular I made the following change:
} elseif($arrSearch['match_type'] == 'USER_ID') { // AUTHOR in 5.1
$match_mode = SPH_MATCH_PHRASE;
$index = $index_name_author;
$arrSearch['search'] = $arrSearch['author']; //probably wrong!!!
} else {
This is more a hack than a correction. It just works. ;)
Regards, Zdravko
In particular I made the following change:
} elseif($arrSearch['match_type'] == 'USER_ID') { // AUTHOR in 5.1
$match_mode = SPH_MATCH_PHRASE;
$index = $index_name_author;
$arrSearch['search'] = $arrSearch['author']; //probably wrong!!!
} else {
This is more a hack than a correction. It just works. ;)
Regards, Zdravko
Re: Module: Sphinx Search July 28, 2010 04:18AM |
Registered: 13 years ago Posts: 4 |
Hello
i've just published update 1.1 to this plugin, which works nicely for me!
.tar.gz:
[github.com]
.zip:
[github.com]
you may report bugs to the git issue tracker:
[github.com]
i've just published update 1.1 to this plugin, which works nicely for me!
.tar.gz:
[github.com]
.zip:
[github.com]
you may report bugs to the git issue tracker:
[github.com]
Sorry, only registered users may post in this forum.