lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mortic44 <moran.she...@gmail.com>
Subject Re: Searching sub string
Date Sat, 26 Jan 2008 09:40:20 GMT

Thanks Daniel.

Unfortunately i'm using Lucene .Net and
"QueryParser.setAllowLeadingWildcard()" is available on ver 2.1 which has
not released yet.

Moran



Daniel Naber-8 wrote:
> 
> On Freitag, 25. Januar 2008, mortic44 wrote:
> 
>> I'd like to perform a substring search (query like *foo*).
>> As you better know, it is not possible to use * as the first character.
> 
> It is, at last in recent versions of Lucene Java, see 
> QueryParser.setAllowLeadingWildcard(). An alternative might be to produce 
> an n-gram index.
> 
> Regards
>  Daniel
> 
> -- 
> http://www.danielnaber.de
> 
> 

-- 
View this message in context: http://www.nabble.com/Searching-sub-string-tp15089424p15106180.html
Sent from the Lucene - General mailing list archive at Nabble.com.


Mime
View raw message