Thread:Extension talk:CirrusSearch/Cirrus behaving like standard search?

Hi all,

Here's my situation. I'm attempting to install CirrusSearch on my installation of Mediawiki. It is a relatively small enterprise-minded wiki which has for goal to hold a knowledge base. As such, it has become more important over its development that the search function be up to snuff.

Anyway, here's how I proceeded.


 * Installed Elasticsearch (at first the latest version, but I am current on 1.1.1).
 * Installed Elastica for Mediawiki 1.22.
 * Installed CirrusSearch for Mediawiki 1.22 (I have 1.22.6).
 * The installation appears to proceed successfully. The Elasticsearch cluster is OK. After using the .php scripts, three indices appear in total and they contain my pages.

Now, here's the weird thing. After all that, I switch $wgSearchType to 'CirrusSearch', and try to search something. It works, but doesn't appear to display any of the abilities I expected. In fact, it behaves worse than the standard search engine. For instance, with the standard search engine, if I search for a page I know exists, I will automatically be redirected to the page, which is the behavior I want. With Cirrus, I will be redirected to Special:Search, were the page does indeed appear with 100% match, but I will not be redirected. At first, I wasn't sure if Cirrus was even working. I was able to confirm that by enabling different variables such as the warning that "this wiki is using a new search engine", and the score for each result. It's definitely there, it's just not doing what I expected. Something else I expected, and a big part of my decision to change search engine, was the ability to provide "did you mean" results. If I search for a page called "Canad" while a page "Canada" exists, I'd like the latter to be provided as a "did you mean" result. I see this behavior displayed on Wikipedia, but it's nowhere to be seen on my wiki.

Is there something else I need to configure to enable such functions? Otherwise, is there anything that could cause such a behavior?

Thanks,