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

Chris A. Mattmann resolved TIKA-1834.
-------------------------------------
    Resolution: Fixed

applied in trunk!
{noformat}
[chipotle:~/tmp/tika1.12] mattmann% svn commit -m "Fix for TIKA-1834: Fix for 
GeoTopic parser holding state while running Tika server contributed by smadha 
<msha...@usc.edu> this closes #71."
Sending        CHANGES.txt
Sending        
tika-parsers/src/main/java/org/apache/tika/parser/geo/topic/GeoParser.java
Sending        
tika-parsers/src/main/java/org/apache/tika/parser/geo/topic/NameEntityExtractor.java
Transmitting file data ...
Committed revision 1725318.
[chipotle:~/tmp/tika1.12] mattmann% 
{noformat}

> Fix for GeoTopic parser holding state while running Tika server
> ---------------------------------------------------------------
>
>                 Key: TIKA-1834
>                 URL: https://issues.apache.org/jira/browse/TIKA-1834
>             Project: Tika
>          Issue Type: Sub-task
>          Components: parser
>    Affects Versions: 1.12
>         Environment: All
>            Reporter: Madhav Sharan
>            Assignee: Chris A. Mattmann
>             Fix For: 1.12
>
>
> While using TIKA-server  we observed that GeoTopic parser started holding 
> state and returned all the location retrieved for any previous request. 
> This was happening as mutable object 
> org.apache.tika.parser.geo.topic.NameEntityExtractor was initialised once and 
> then was reused by all request. 
> As part of this fix org.apache.tika.parser.geo.topic.NameEntityExtractor is 
> recreated for every request.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to