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

Paul Elschot updated LUCENE-6839:
---------------------------------
    Attachment: LUCENE-6939.patch

Patch of 15 October 2015.
This makes SpanOrQuery.addClause() private, and uses a List<SpanQuery> instead 
of SpanOrQuery in SpanMultiTermQueryWrapper.

Perhaps a SpanOrQuery.Builder is better, it might avoid creating an extra 
ArrayList.

> SpanOrQuery is not immutable
> ----------------------------
>
>                 Key: LUCENE-6839
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6839
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>            Reporter: Paul Elschot
>            Priority: Minor
>         Attachments: LUCENE-6939.patch
>
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to