You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Paul Elschot (JIRA)" <ji...@apache.org> on 2015/10/15 00:08:05 UTC
[jira] [Updated] (LUCENE-6839) SpanOrQuery is not immutable
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org