You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2015/10/21 16:16:27 UTC

[jira] [Resolved] (LUCENE-5877) SpanQuery subclass fields should be protected and final

     [ https://issues.apache.org/jira/browse/LUCENE-5877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Smiley resolved LUCENE-5877.
----------------------------------
    Resolution: Won't Fix

This is obsoleted by the SpanCollector API in Lucene 5.3

> SpanQuery subclass fields should be protected and final
> -------------------------------------------------------
>
>                 Key: LUCENE-5877
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5877
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>
> I needed access to SpanNearQuery.collectPayloads but annoyingly found it to be private, forcing my subclass to store a copy.  For that matter, I think it's good practice for these fields to be declared final.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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