[jsword-devel] Searching in German
DM Smith
dmsmith555 at yahoo.com
Wed Feb 6 18:43:52 MST 2008
On Feb 6, 2008, at 9:59 AM, Manfred Bergmann wrote:
> Am 06.02.2008 um 15:34 schrieb DM Smith:
>
>> Manfred Bergmann wrote:
>>> Hi DM.
>>>
>>> AFAIK, Lucene from version 2.1 can deal with leading wildcards.
>>>
>> Lucene 2.3 still throws an error: "Cannot parse '*ning': '*' or '?'
>> not
>> allowed as first character in WildcardQuery"
>>
>> Perhaps, there's something that needs to be done to enable it?
>
> Yes, there is a flag in QueryParser class called
> setAllowLeadingWindcard(boolean).
> It is available since v2.1.
Sehr viel Dank!!!!
I have added this ability! Super and very fast.
More information about the jsword-devel
mailing list