I'm building a search function for a php website using Zend Lucene and i'm having a problem. My web site is a Shop Director (something like that).
For example i have a shop named "FooBar" but my visitors seach for "Foo Bar" and get zero results. Also if a shop is named "Foo Bar" and visitor seaches "FooBar" nothing is found.
I tried to seach for " foobar~ " (fuzzy seach) but did not found articles named "Foo Bar"
Is there a speciar way to build the index or to make the query?