You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2010/08/17 13:15:16 UTC
[jira] Commented: (LUCENE-2604) add regexpquery to queryparser
[ 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