[
https://issues.apache.org/jira/browse/LUCENE-1346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yonik Seeley updated LUCENE-1346:
---------------------------------
Attachment: LUCENE-1346.patch
Attaching patch that changes Vector to ArrayList in PhraseQuery,
MultiPhraseQuery, and in BooleanQuery.Weight.
I doubt there was ever any intent for these query classes to be partially
thread safe.
> replace Vector with ArrayList in Queries
> ----------------------------------------
>
> Key: LUCENE-1346
> URL: https://issues.apache.org/jira/browse/LUCENE-1346
> Project: Lucene - Java
> Issue Type: Improvement
> Reporter: Yonik Seeley
> Priority: Trivial
> Attachments: LUCENE-1346.patch
>
>
> Replace Vector with ArrayList in Queries. This can make a difference in
> heavily concurrent scenarios when Query objects are examined or compared
> (e.g. used as cache keys).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]