[
https://issues.apache.org/jira/browse/LUCENE-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971909#action_12971909
]
Yonik Seeley commented on LUCENE-2815:
--------------------------------------
So I started looking into MultiFields more closely, just from a performance
perspective, and noticed a couple of thread safety issues:
- MultiFields is reused (a good thing), but isn't safely published to other
threads.
- MultiFields has a HashMap that is used and modified unsynchronized to cache
MultiTerms instances
> MultiFields not thread safe
> ---------------------------
>
> Key: LUCENE-2815
> URL: https://issues.apache.org/jira/browse/LUCENE-2815
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 4.0
> Reporter: Yonik Seeley
>
> MultiFields looks like it has thread safety issues
--
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]