You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2008/07/24 20:35:31 UTC
[jira] Created: (LUCENE-1346) replace Vector with ArrayList in
Queries
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
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Resolved: (LUCENE-1346) replace Vector with ArrayList in
Queries
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-1346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yonik Seeley resolved LUCENE-1346.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.4
committed.
> 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
> Fix For: 2.4
>
> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Updated: (LUCENE-1346) replace Vector with ArrayList in
Queries
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org