You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Steph van Schalkwyk (JIRA)" <ji...@apache.org> on 2018/11/02 01:57:00 UTC

[jira] [Comment Edited] (CONNECTORS-1529) Add "url" output element to ES Output Connector (required when used with the Web Repository Connector)

    [ https://issues.apache.org/jira/browse/CONNECTORS-1529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16672487#comment-16672487 ] 

Steph van Schalkwyk edited comment on CONNECTORS-1529 at 11/2/18 1:56 AM:
--------------------------------------------------------------------------

I added it as a addField in the Web Connector. Then allowing for it to be renamed in the Elasticsearch Connector. 
So it adds "documentId": "http://localhost:8000/000010.pdf" to the metadata output by the Web Connector, but as an addField, so it doesn't break anything (at least in theory, unless there is a metadata rename with the same fieldname later in the pipeline).
Let me know if this works for you.

Its value is always lowercase as per ROOT.Locale.



was (Author: svanschalkwyk):
I added it as a addField in the Web Connector. Then allowing for it to be renamed in the Elasticsearch Connector. 
So it adds "documentId": "http://localhost:8000/000010.pdf" to the metadata output by the Web Connector, but as an addField, so it doesn't break anything (at least in theory, unless there is a metadata rename with the same fieldname later in the pipeline).
Let me know if this works for you.


> Add "url" output element to ES Output Connector (required when used with the Web Repository Connector)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-1529
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1529
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Elastic Search connector
>    Affects Versions: ManifoldCF 2.10
>            Reporter: Steph van Schalkwyk
>            Assignee: Steph van Schalkwyk
>            Priority: Major
>             Fix For: ManifoldCF 2.12
>
>         Attachments: elasticsearch.patch, image-2018-09-06-10-28-45-008.png
>
>
> Add "url" (copy of the _id field) to ES Output.
> ES no longer supports copying from _id (copy-to) in the schema.
> As per 
> !image-2018-09-06-10-28-45-008.png!
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)