You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2016/01/18 19:39:40 UTC

[jira] [Resolved] (TIKA-1834) Fix for GeoTopic parser holding state while running Tika server

     [ 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 <ms...@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)