[
https://issues.apache.org/jira/browse/TIKA-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919858#comment-13919858
]
Alexandre Madurell commented on TIKA-1252:
------------------------------------------
Hello, Tim Allison
I've created a couple of files with a single author (Acrobat 5.x and Acrobat
4.x), but it is always wrapped in a bag when I export the .xmp:
{code:xml}
<dc:creator>
<rdf:Bag>
<rdf:li>Single Author</rdf:li>
</rdf:Bag>
</dc:creator>
{code}
I'm attaching both, anyways.
Also, I've tried importing an XMP which uses {code:xml}<rdf:Seq>{code} instead
of {code:xml}<rdf:Bag>{code} and Acrobat seems to keep it and display it in its
properties panel. I'm attaching both PDFs (one author, two authors, with Seq)
and a screenshot of the properties panel.
This does definitely let me go ahead with indexing our documents.
As to your last comment, {code:xml}rdf:Bag{code} is definitely what came out of
Acrobat X by exporting the XMP on a clean brand new PDF (after typing the
Author in the properties panel), so I guess it is worth checking on both.
I'll also take a good look at PDFBox (I've just checked out the repo's trunk).
P.S. This community is AWESOME!!! (I'm not used to receiving comments faster
than I can reply to them... -twice!- thrice!) :)
> Tika is not indexing all authors of a PDF
> -----------------------------------------
>
> Key: TIKA-1252
> URL: https://issues.apache.org/jira/browse/TIKA-1252
> Project: Tika
> Issue Type: Bug
> Components: metadata, parser
> Affects Versions: 1.4
> Environment: Ubuntu 12.04 (x64) Solr 4.6.0 (Amazon Web Services,
> Bitnami Stack)
> Reporter: Alexandre Madurell
> Attachments: Sample.pdf, Sample.xmp
>
>
> When submitting a PDF with this information in its XMP metadata:
> ...
> <dc:creator>
> <rdf:Bag>
> <rdf:li>Author 1</rdf:li>
> <rdf:li>Author 2</rdf:li>
> </rdf:Bag>
> </dc:creator>
> ...
> Only the first one appears in the collection:
> ...
> "author":["Author 1"],
> "author_s":"Author 1",
> ...
> In spite of having set the field to multiValued in the Solr schema:
> <field name="author" type="text_general" indexed="true" stored="true"
> multiValued="true"/>
> Let me know if there's any further specific information I could provide.
> Thanks in advance!
--
This message was sent by Atlassian JIRA
(v6.2#6252)