Really off the top of my head, if that's an expected query, you can try to
index the words backwards (in that field) and then convert the query *plan
to nalp* :).

You can also index the suffixes of words, e.g. vacancyplan, acancyplan,
cancyplan and so forth, and then convert the query *plan to plan. Note that
it increases the lexicon !

Shai

On Fri, Dec 7, 2012 at 11:16 AM, Clemens Wyss DEV <clemens...@mysign.ch>wrote:

> In order to provide suggestions our query also includes a "WildcardQuery
> with a leading *", which, of course, has a HUGE performance impact :-(
>
> E.g.
> Say we have indexed "vacancyplan", then if a user typed "plan" he should
> also be offered "vacancyplan" ...
>
> How can this feature be implemented without WcQwl* ?
>
> Any help appreciated
> - Clemens
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

Reply via email to