lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Khmelichek (JIRA)" <>
Subject [jira] [Created] (LUCENE-6449) NullPointerException in PostingsHighlighter
Date Thu, 23 Apr 2015 20:17:38 GMT
Roman Khmelichek created LUCENE-6449:

             Summary: NullPointerException in PostingsHighlighter
                 Key: LUCENE-6449
             Project: Lucene - Core
          Issue Type: Bug
          Components: modules/highlighter
    Affects Versions: 5.1
            Reporter: Roman Khmelichek

In case an index segment does not have any docs with the field requested for highlighting
indexed, there should be a null check immediately following this line (in
Terms t = r.terms(field);

Looks like the null check was moved in the 5.1 release and this is occasionally causing a
NullPointerException in my near-realtime searcher.

This message was sent by Atlassian JIRA

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

View raw message