On 07/06/2011 10:16, Robert Muir wrote:
On Mon, Jun 6, 2011 at 11:46 AM, Paul Taylor<paul_t...@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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to