[ https://issues.apache.org/jira/browse/OAK-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davide Giannella updated OAK-2797: ---------------------------------- Fix Version/s: (was: 1.3.3) 1.3.4 Bulk move to 1.3.4 > Closeable aspect of Analyzer should be accounted for > ---------------------------------------------------- > > Key: OAK-2797 > URL: https://issues.apache.org/jira/browse/OAK-2797 > Project: Jackrabbit Oak > Issue Type: Bug > Components: lucene > Reporter: Chetan Mehrotra > Labels: technical_debt > Fix For: 1.3.4 > > > Lucene {{Analyzer}} implements {{Closeable}} [1] interface and internally it > has a ThreadLocal storage of some persistent resource > So far in oak-lucene we do not take care of closing any analyzer. In fact we > use a singleton Analyzer in all cases. Opening this bug to think about this > aspect and see if our usage of Analyzer follows the best practices > [1] > http://lucene.apache.org/core/4_7_0/core/org/apache/lucene/analysis/Analyzer.html#close%28%29 > /cc [~teofili] [~alex.parvulescu] -- This message was sent by Atlassian JIRA (v6.3.4#6332)