You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Lance Norskog (Commented) (JIRA)" <ji...@apache.org> on 2012/04/13 22:55:18 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=13253737#comment-13253737 ] 

Lance Norskog commented on LUCENE-2604:
---------------------------------------

This feature does not work as of the trunk today.

Run the example.
Post the exampledocs files.
The first document in hd.xml is id=SP2514N.
This should return that document but does not:
{code}
http://localhost:8983/solr/select?q=id:/2541/&start=0&rows=10&wt=xml
{code}
>From mail with Robert Muir:
{quote}
This looks like a queryparser precedence bug to me. REGEXPTERM should
be moved up above PREFIXTERM and WILDTERM or queries with * will be
treated as those first, even if they are inside /..../. Open an issue
and I'll take care of it.
{quote}


                
> add regexpquery to queryparser
> ------------------------------
>
>                 Key: LUCENE-2604
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2604
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: core/queryparser
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>            Assignee: Simon Willnauer
>             Fix For: 4.0
>
>         Attachments: LUCENE-2604.patch, LUCENE-2604.patch, 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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