tags:

views:

16

answers:

0

Hi

I've implemented Lucenet.NET on my site, using it to index my products which are theatre shows, tours and attractions around London.

I want to implement a "Did you mean?" feature for when users misspell product names that takes the whole product titles into account and not just single words. For example,

If the user typed:

Lodnon Eye

I would like to auto-suggest:

London London Eye

I assume I nead to have the analyzer index the titles as if they are a single entity, so that SpellChecker can nearest-match on the phrase, as well as the individual words.

How would I do this?

Kind regards

Ben