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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17400267#comment-17400267 ] 

Adrien Grand commented on LUCENE-9959:
--------------------------------------

Since this issue is proving a bit controversial, and is currently half-baked with term vectors having a new API without threadlocals but not stored fields, let's revert changes that have been done until now in order not to block the Lucene 9.0 release ([~sokolov] sent an email to the dev list about releasing soon).

> 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: 8h 20m
>  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