lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <>
Subject [jira] Commented: (LUCENE-2604) add regexpquery to queryparser
Date Tue, 17 Aug 2010 11:15:16 GMT


Simon Willnauer commented on LUCENE-2604:

hehe - since regexquery is now in core this can be easily integrated. By skimming through
your patch I figured that you can not run parse a query like "/[A-Z]\\/[123]/" (already a
valid java string) because of the slash in the regex. I had similar issues in LUCENE-2039
which I can't really remember how I solved them but it would be nice if you could escape the
slashes if you wanna search for regexp with those chars.


> add regexpquery to queryparser
> ------------------------------
>                 Key: LUCENE-2604
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: QueryParser
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-2604.patch
> patch that adds RegexpQuery if you /enter an expression between slashes like this/
> i didnt do the contrib ones but could add it there too if it seems like a good idea.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message