[
https://issues.apache.org/jira/browse/TIKA-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918643#comment-13918643
]
Uwe Schindler commented on TIKA-1252:
-------------------------------------
I did a quick check in
[https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/contrib/extraction/src/java/org/apache/solr/handler/extraction/SolrContentHandler.java]
Solr does not seem to remove duplicate values (see {{addMetadata()}} and
{{addField(String fname, String fval, String[] vals)}}). Furthermore, if the
field is *not* multivalued, the data is concatenated with whitespace and put
into *one* field (see line 226 ff).
So this looks like a configuration problem or really a bug in TIKA.
> 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
>
> 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)