-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IntraACL+Cirrus or Sphinx Search #80
Comments
Yes, every MediaWiki extension usually does direct DB access and should be patched in order to support page-level read permissions. Maybe CirrusSearch already does it, I don't know (it's sufficient to use the standard userCan('read') hook). Installation instructions for our sphinx extension are here: http://wiki.4intra.net/SphinxSearchEngine |
Ooops. It seems instructions are missing |
Anyway it's easy. You just install Sphinx, add a config similar to provided sphinx.conf, include SphinxSearchEngine.php and set connection parameters (see inside it). Then you call |
Vitalif: Can you be clear what you mean by the "connection parameters"? I dont see any connection parameters either in the sphinx.conf or in the SphinxSearchEngine.php. I am getting a whe biunch of warning like below. I am on MW 1.27. Warning: SphinxQLClient::query(): Couldn't fetch mysqli in /var/lib/wiki/extensions/SphinxSearchEngine/SphinxSearchEngine_class.phon line 954 |
Host/port/socket |
I have a quick question.
If I use Cirrus search engine on a wiki with IntraACL, would I need to patch Cirrus?
I prefer Cirrus over Sphinx, provided it works with IntraACL. Pls help.
Alternatively, I see that you have Sphinx in your distribution of extensions. I don't see any installation instructions. I am assuming your git repository corresponds only to the "extension" piece of the setupI am guessing I will need to separately install the Sphinx Search Engine from linux repositories and then install your extension separately, is that right? Can I follow instruction provided by mediawiki here: https://www.mediawiki.org/wiki/Extension:SphinxSearch.
The text was updated successfully, but these errors were encountered: