gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-500) bug in org.apache.gora.solr.store.SolrStore#getDatumWriter & #getDatumReader
Date Sat, 28 Jan 2017 05:25:24 GMT

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

Lewis John McGibbney commented on GORA-500:
-------------------------------------------

[~aakashkag] do you have a patch for this issue? Thank you.

> bug in org.apache.gora.solr.store.SolrStore#getDatumWriter & #getDatumReader
> ----------------------------------------------------------------------------
>
>                 Key: GORA-500
>                 URL: https://issues.apache.org/jira/browse/GORA-500
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: gora-solr
>            Reporter: aakash
>
> The above referenced methods use schemaId to cache DatumReader and DatumWriter instances.
This restricts you to using a schema type of "map" with only a single value set. the caching
method should use a more specific identifier like what is returned from fieldSchema.toString()
instead of schemaId, so that the caching mechanism doesn't return a reader/writer that doesn't
match your data set.



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

Mime
View raw message