lucene-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/LUCENE-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899374#action_12899374
] 

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.

simon

> add regexpquery to queryparser
> ------------------------------
>
>                 Key: LUCENE-2604
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2604
>             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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message