You can generate n-grams: for example when you index "lucene" you
create tokens "luce", "ucen", "cene".
It will increase term count (and index size), however on search you
will simply search for a single term, which will be extremely fast.
It depends how may documents you have, size of each docum
There is an option to turn leading wildcards on, see QueryParser.
All the usual caveats about TooManyClauses apply
Best
Erick
On Thu, Feb 26, 2009 at 7:59 AM, wrote:
>
> Hi all,
>
> We have a business requirement that needs Lucene to search similar to
> contains (of SQL) such that we can h
Hi all,
We have a business requirement that needs Lucene to search similar to
contains (of SQL) such that we can have something like *ucen* which
should return lucene and lucent ... unfortunately wildcards are not
allowed at the start of the search keyword - how should I go about this?
Is thi