lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André (JIRA) <>
Subject [jira] [Created] (LUCENE-4777) NPE in MultiFieldQueryParser
Date Wed, 13 Feb 2013 17:10:13 GMT
André  created LUCENE-4777:

             Summary: NPE in MultiFieldQueryParser
                 Key: LUCENE-4777
             Project: Lucene - Core
          Issue Type: Bug
          Components: core/queryparser
    Affects Versions: 4.1
            Reporter: André 

The method getRegexpQuery() in MultiFieldQueryParser is not overridden.
That leads to RegexpQueries where field=null (see example below).

QueryParser qp = new MultiFieldQueryParser(Version.LUCENE_41, new String[]{ "content" }, new
qp.parse("path:foo/bar/foo"); // no ParseException thrown here

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

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

View raw message