manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-969) Output connectors that use a JSON description string likely to fail
Date Sun, 30 Nov 2014 09:40:12 GMT

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

Karl Wright commented on CONNECTORS-969:
----------------------------------------

With the 1.7 API changes, extraction is no longer required at all.  So this ticket should
be quite straightforward to resolve.  Looking at it today.


> Output connectors that use a JSON description string likely to fail
> -------------------------------------------------------------------
>
>                 Key: CONNECTORS-969
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-969
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: File system connector
>    Affects Versions: ManifoldCF 1.6.1
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 2.0
>
>
> When JSON is used as a description string, the order of terms in JSON is not determined
- it is hashmap dependent.  This means that the strings cannot be compared reliably between
different versions of Java.  Since these strings are stored in the database, upgrading java
versions for these connectors might well cause all records going to them to be reindexed.
> JSON is also quite wordy (although better than XML) and is not a great fit for database
storage for this reason.
> The alternative is to use the pack primitives that are available from the base connector
class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message