[jira] [Updated] (LUCENE-3831) Passing a null fieldname to MemoryFields#terms in MemoryIndex throws a NPE

2012-02-28 Thread Alan Woodward (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-3831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Woodward updated LUCENE-3831: -- Attachment: TestNullFieldAfterRegexpRewrite.java Here's a test case. The error is thrown in S

[jira] [Updated] (LUCENE-3831) Passing a null fieldname to MemoryFields#terms in MemoryIndex throws a NPE

2012-02-28 Thread Alan Woodward (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-3831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Woodward updated LUCENE-3831: -- Attachment: mindex-null-field.patch Trivial fix - we just check if the passed in fieldname is

[jira] [Updated] (LUCENE-3827) Make term offsets work in MemoryIndex

2012-02-27 Thread Alan Woodward (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-3827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Woodward updated LUCENE-3827: -- Attachment: mindex.patch This patch corrects the DocsAndPositionsEnum iterator logic to deal w

[jira] [Updated] (LUCENE-3826) Make term offsets available from Spans

2012-02-26 Thread Alan Woodward (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-3826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Woodward updated LUCENE-3826: -- Attachment: spans-offsets.patch Initial patch - all existing tests pass, but I haven't added a