GitHub user harmstyler opened a pull request:

    https://github.com/apache/lucene-solr/pull/4

    Lucene solr 3 6

    ....
    
    Took the SOLR-3035 update to the 4.x project and installed it into Solr 3.6
    SOLR-3035
    "The XML and JSON response writers return data from short schema fields as 
"java.lang.Short:<value>".
    In addition, binary fields (for sharded requests) are returned as 
"[B:[B@<hex address of array>", which makes them totally unusable.
    This appears to be due to their writeVal() methods not having cases to 
handle val instanceof Short and val instance of byte[]"

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/harmstyler/lucene-solr lucene_solr_3_6

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/4.patch

----
commit daf2c0b1f37138df91a0217254ca120b5b5c43e4
Author: Tyler Harms <[email protected]>
Date:   2012-05-14T18:28:22-07:00

    Update to Solr 3.6 to fix binary from returning improperly across shards.
    
    Took the SOLR-3035 update to the 4.x project and installed it into Solr 3.6
    SOLR-3035
    "The XML and JSON response writers return data from short schema fields as 
"java.lang.Short:<value>".
    In addition, binary fields (for sharded requests) are returned as 
"[B:[B@<hex address of array>", which makes them totally unusable.
    This appears to be due to their writeVal() methods not having cases to 
handle val instanceof Short and val instance of byte[]"

----


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to