You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Robert Muir (Jira)" <ji...@apache.org> on 2021/07/19 08:16:00 UTC

[jira] [Resolved] (LUCENE-9959) Can we remove threadlocals of stored fields and term vectors

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

Robert Muir resolved LUCENE-9959.
---------------------------------
    Resolution: Won't Fix

was a terrible idea that just made APIs worse: I tried having some sympathy for people with crappy inefficient threadpools, no more it seems.


> Can we remove threadlocals of stored fields and term vectors
> ------------------------------------------------------------
>
>                 Key: LUCENE-9959
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9959
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Minor
>          Time Spent: 7.5h
>  Remaining Estimate: 0h
>
> [~rmuir] suggested removing these threadlocals at https://github.com/apache/lucene/pull/137#issuecomment-840111367.
> These threadlocals are trappy if you manage many segments and threads within the same JVM, or worse: non-fixed threadpools. The challenge is to keep the API easy to use.
> We could take advantage of 9.0 to change the stored fields API?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org