2

searchterm: foo should match foo and foobar

searchterm: "foo" should only match foo

I tried LuceneSearch and SphinxSearch so far, but I couldn't get any of these to behave like google. foo will only match foo, and foo* will match foo and foobar.

3
  • MediaWiki search is often problematic, but have you considered simply applying a Google Custom Search? It'd certainly line up with your requirements and it would probably save you some time/money testing out less-than-adequate alternatives.
    – danlefree
    Nov 17, 2010 at 10:30
  • @danlefree: That's not an option I'm afraid. The wiki is not publicly accessible.
    – chris
    Nov 17, 2010 at 10:40
  • Gotcha. There's also the option to acquire a Google search appliance if you're dealing with a corporate intranet and can expense it (linked). Favorited your question as I'm equally interested to see if anyone else has found an open source solution which beats Lucene and Sphinx. GSA: google.com/enterprise/search/gsa.html
    – danlefree
    Nov 17, 2010 at 11:37

1 Answer 1

0

Lucene does this, with one minor alteration: foo* (with an asterix) matches foo & foobar. "foo" does only match foo.

See Wikipedia's Help:Searching.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .