XenForo - Sphinx Search Engine v0.0.1 - x-MoBiLe
Category: Forum Boards (depraced!)
- views: 24 531
- date: 15 October 2010
- posted by: SKRiPTERZ.iNFO
Sphinx Search Engine v0.0.1 for XenForo v1.0.0
Please consider this a very first proof of concept beta release.
XenForo is new to me. So if Im doing something terribly wrong here please let me know
This release assumes that you already know how to setup Sphinx Search Engine, including how to setup cronjobs to reindex your search index and update your delta search index inbetween. A beginner friendly documentation will probably come soon. I just didn't have time for this yet.
I've been using the latest Sphinx 1.10-beta release. An example sphinx.conf is included.
I believe it should work with Sphinx 0.9.9 as well. I didn't have time to test this though.
Installation
1. Upload all files from the "upload" folder to your XenForo directory
2. Go to your XenForo Admin Control Panel and click Install Add-on
3. Select addon_xt_sphinx.xml and click Install Add-on
4. add the source and index definitions from the included sphinx.conf to your sphinx.conf
5. reindex your search index
6. edit library/XenForo/Search/SourceHandler/Abstract.php
go to the end of the file and replace:
CODE
return new XenForo_Search_SourceHandler_MySqlFt();
with:
CODE
return new SphinxSearch_Search_Sphinx();
7. enjoy your Sphinx Search Engine
8. please report any bugs and suggestions
P.S. personally i am reindexing every 24 hours at 4a.m. and run the delta each and every minute. This setup works fine for us, but we only have about 3 million posts to reindex anyway. So for really big forums a delta update every 5 minutes might be better. And you need to decide when and if to run the reindex. That really depends on your setup and hardware I guess.
Please consider this a very first proof of concept beta release.
XenForo is new to me. So if Im doing something terribly wrong here please let me know
This release assumes that you already know how to setup Sphinx Search Engine, including how to setup cronjobs to reindex your search index and update your delta search index inbetween. A beginner friendly documentation will probably come soon. I just didn't have time for this yet.
I've been using the latest Sphinx 1.10-beta release. An example sphinx.conf is included.
I believe it should work with Sphinx 0.9.9 as well. I didn't have time to test this though.
Installation
1. Upload all files from the "upload" folder to your XenForo directory
2. Go to your XenForo Admin Control Panel and click Install Add-on
3. Select addon_xt_sphinx.xml and click Install Add-on
4. add the source and index definitions from the included sphinx.conf to your sphinx.conf
5. reindex your search index
6. edit library/XenForo/Search/SourceHandler/Abstract.php
go to the end of the file and replace:
CODE
return new XenForo_Search_SourceHandler_MySqlFt();
with:
CODE
return new SphinxSearch_Search_Sphinx();
7. enjoy your Sphinx Search Engine
8. please report any bugs and suggestions
P.S. personally i am reindexing every 24 hours at 4a.m. and run the delta each and every minute. This setup works fine for us, but we only have about 3 million posts to reindex anyway. So for really big forums a delta update every 5 minutes might be better. And you need to decide when and if to run the reindex. That really depends on your setup and hardware I guess.
http://www.mediafire.com/?4clb8r641ie0ejx
We need your support!
Make a donation to help us stay online
Bitcoin (BTC)
bc1q08g9d22cxkawsjlf8etuek2pc9n2a3hs4cdrld
Bitcoin Cash (BCH)
qqvwexzhvgauxq2apgc4j0ewvcak6hh6lsnzmvtkem
Ethereum (ETH)
0xb55513D2c91A6e3c497621644ec99e206CDaf239
Litecoin (LTC)
ltc1qt6g2trfv9tjs4qj68sqc4uf0ukvc9jpnsyt59u
USDT (ERC20)
0xb55513D2c91A6e3c497621644ec99e206CDaf239
USDT (TRC20)
TYdPNrz7v1P9riWBWZ317oBgJueheGjATm
Information |
|||
![]() |
Users of GUESTS are not allowed to comment this publication. | ||









