Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-474

bug in org.apache.gora.solr.store.SolrStore#getDatumWriter & #getDatumReader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6.1
    • 0.7
    • gora-solr
    • None
    • n/a

    Description

      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.

      Attachments

        1. gora-test.patch
          21 kB
          Aaron Cosand
        2. SolrStore.patch
          4 kB
          Aaron Cosand
        3. webpage.avsc
          11 kB
          Aaron Cosand

        Activity

          People

            lewismc Lewis John McGibbney
            acosand Aaron Cosand
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified