tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Pilato (Jira)" <j...@apache.org>
Subject [jira] [Updated] (TIKA-3006) Regression in PDF keywords extraction since 1.23
Date Tue, 10 Dec 2019 00:48:00 GMT

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

David Pilato updated TIKA-3006:
-------------------------------
    Description: 
Hey team.

 

I have a unit test which is not passing anymore with Tika 1.23. Code is [here|[https://github.com/dadoonet/fscrawler/blob/master/tika/src/test/java/fr/pilato/elasticsearch/crawler/fs/tika/TikaDocParserTest.java#L430-L496]].

 

Basically, this line is now failing:

{{assertThat(doc.getMeta().getKeywords(), containsInAnyOrder("keyword1", " keyword2"));}}

 

But also this line which seems related:

{{assertThat(raw, hasEntry("dc:subject", "keyword1, keyword2"));}}

 

This line is failing as well although not related I think:

{{assertThat(raw, hasEntry("created", "2016-07-07T08:37:42Z"));}}

 

I'm not sure if it's a bug or expected. If the later, I'll simply change my test suite.

 

  was:
Hey team.

 

I have a unit test which is not passing anymore with Tika 1.23. Code is [here|[https://github.com/dadoonet/fscrawler/blob/dependabot/maven/tika.version-1.23/tika/src/test/java/fr/pilato/elasticsearch/crawler/fs/tika/TikaDocParserTest.java#L430-L496]].

 

Basically, this line is now failing:

{{assertThat(doc.getMeta().getKeywords(), containsInAnyOrder("keyword1", " keyword2"));}}

 

But also this line which seems related:

{{assertThat(raw, hasEntry("dc:subject", "keyword1, keyword2"));}}

 

This line is failing as well although not related I think:

{{assertThat(raw, hasEntry("created", "2016-07-07T08:37:42Z"));}}

 

I'm not sure if it's a bug or expected. If the later, I'll simply change my test suite.

 


> Regression in PDF keywords extraction since 1.23
> ------------------------------------------------
>
>                 Key: TIKA-3006
>                 URL: https://issues.apache.org/jira/browse/TIKA-3006
>             Project: Tika
>          Issue Type: Bug
>            Reporter: David Pilato
>            Priority: Major
>         Attachments: test.pdf
>
>
> Hey team.
>  
> I have a unit test which is not passing anymore with Tika 1.23. Code is [here|[https://github.com/dadoonet/fscrawler/blob/master/tika/src/test/java/fr/pilato/elasticsearch/crawler/fs/tika/TikaDocParserTest.java#L430-L496]].
>  
> Basically, this line is now failing:
> {{assertThat(doc.getMeta().getKeywords(), containsInAnyOrder("keyword1", " keyword2"));}}
>  
> But also this line which seems related:
> {{assertThat(raw, hasEntry("dc:subject", "keyword1, keyword2"));}}
>  
> This line is failing as well although not related I think:
> {{assertThat(raw, hasEntry("created", "2016-07-07T08:37:42Z"));}}
>  
> I'm not sure if it's a bug or expected. If the later, I'll simply change my test suite.
>  



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

Mime
View raw message