Google handles this type of word concatenation quite well... but Solr does not out of the box, at least in terms of automatically. Solr does have a word break spell checker:

https://cwiki.apache.org/confluence/display/solr/Spell+Checking

And described in more detail, with examples in my e-book:
http://www.lulu.com/us/en/shop/jack-krupansky/solr-4x-deep-dive-early-access-release-7/ebook/product-21203548.html

You could at least use this feature to implement a "did you mean..." UI for your search app - show the user actual results but also a proposed query with the words broken apart.

-- Jack Krupansky

-----Original Message----- From: Sven Schönfeldt
Sent: Thursday, July 24, 2014 4:07 AM
To: solr-user@lucene.apache.org
Subject: Need a tipp, how to find documents where content is "tel aviv" but user query is "telaviv"?

Hi Solr-Users,

what is the best way to find documents, where the user write a wrong word in query.

For example the user search for „telaviv“. the search result should also include documents where content is „tel aviv“.

any tipp, or keywords how to do that kind of queries?

regards, Sven=

Reply via email to