lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Taylor <paul_t...@fastmail.fm>
Subject Re: Possible Bug when add wildcard to search following an exclamation mark
Date Tue, 07 Jun 2011 10:53:57 GMT
On 07/06/2011 10:16, Robert Muir wrote:
> On Mon, Jun 6, 2011 at 11:46 AM, Paul Taylor<paul_t100@fastmail.fm>  wrote:
>> If I do a search which consists of escaped ending exclamation marks it all
>> works okay:
>> (aaaaahhh\!\!\!)
>>
>> and find the desired match
>>
>> but if there is a wildcard at the end, it will not find any matches
>> (aaaaahhh\!\!\!*)
>>
>> I cant see Im doing anything in my code that would affect this, is this a
>> bug in lucene ?
>>
> wildcards don't support escaped characters, but will in 4.0
>
> https://issues.apache.org/jira/browse/LUCENE-588
>
Quite a lot said in that issue, it seems to be concentrating on escaping 
wildcards chars (?, *), whereas I'm escaping an !, as part of a wildcard 
query. But I'll assume this issue covers that

Thanks alot Paul


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message