On 11-03-29 05:19 AM, Tod wrote:
On 03/29/2011 7:43 AM, � wrote:
On 29 March 2011 14:27, Todlistacctc@gmail.com wrote:
I do have another solution. �I've already indexed the wiki's with SOLR. �How hard would it be for me to integrate those search results into the wiki presentation replacing the onboard Mediawiki search?
There is already Lucene based search system for Mediawiki called lucene-search [1]. It is somewhat Wikimedia specific but general use does not seem impossible.
[1] http://www.mediawiki.org/wiki/Extension:Lucene-search
-Niklas
I've looked at that as well as SphinxSearch extension. It looks like SphinxSearch is less work to get up and running but I still have a concern as to whether it can index multiple databases at once yet still present the search results within a single wiki instance.
Thanks - Tod
SphinxSearch also has a number of other disadvantages: - The 'did you mean' is only a spellcheck, it's not index based and not sensitive to your wiki's actual content so suggestions can be quite bad in some cases. They were so bad for me the feature was useless. - The interface for SphinxSearch seams to be out of date - The index cannot be updated live on-save, so there is delay between changing content and it getting into the index - Sphinx queries the sql directly so it's incompatible with compressed revs, external storage, and essentially any attempt at making storage of page text efficient in any way at all
I actually looked at Solr earlier on today (ok, actually yesterday, I couldn't get to sleep). It would be an interesting project, Solr can support most of the good search features we get from Lucene, but in a more widely used package. Course it won't meet Wikimedia's performance needs, and Lucene-search might work better for some things, but for the rest of it it's probably a good alternative to trying to get Lucene-search working.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]