GitHub user dingziyang opened a pull request:

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

    Branch 6x  . clzz.cast(object),Lost part of the data in a field of object。

    ### Env: 
    - solr-6.5.1
    - jdk 1.8
    
    ### Question : 
    - I got the query result from the solr server and tried to assign it to my 
java bean. After debugging, I found the problem code:```clzz 
cast(object)```,the object invoked a class named "article",and has a member 
variables named “content”,it should get about 2000 bytes but only get 
about 500 bytes.
    - Is a bug with solr, or  where am I doing wrong? ,Please help me,thanks.
    ### Code:
    ``` java
    System.out.println(object); // debug in here,everything is fine.
    list.add(clzz.cast(object)); 
    System.out.println(object); // debug in here,clzz.cast(object),Lost part 
of the data in a field of object。
    ```

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

    $ git pull https://github.com/apache/lucene-solr branch_6x

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

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

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #364
    
----
commit d7fdbc48a4f31fde34752409e541823ba2ff8f38
Author: Steve Rowe <sarowe@...>
Date:   2017-06-06T18:23:51Z

    SOLR-10815: avoid long->float precision loss in 'product(-1,ms(date_field)' 
by subtracting a base date: 'product(-1,ms(date_field,base_date_field))'

commit 77ca26beb39d25448b671cacb209a42fe49d193f
Author: Joel Bernstein <jbernste@...>
Date:   2017-06-07T01:51:17Z

    Ref Guide: Remove place holders

commit 3bb7cfcef5f22c6b61c505f8d9ead47f1a8fe6fe
Author: Ishan Chattopadhyaya <ishan@...>
Date:   2017-06-07T02:34:29Z

    Adding 6.6.0 release version number

commit 28d80c7b599bf9363adfefc1b32a463ff6250d1a
Author: jpgilaberte <jpgilaberte@...>
Date:   2017-05-29T11:06:05Z

    LUCENE-7855: The advanced parameters of the Wikipedia tokenizer are added 
to the factory
    
    Closes #209

commit 792a8799168a58477b3165c11cbf3ab241c1d9f8
Author: Adrien Grand <jpountz@...>
Date:   2017-06-07T15:49:33Z

    LUCENE-7828: Speed up range queries on range fields by improving how we 
compute the relation between the query and inner nodes of the BKD tree.

commit 972cdef6d9d75fdcb3f66f60901530edbf4ebad0
Author: Christine Poerschke <cpoerschke@...>
Date:   2017-06-07T18:38:17Z

    SOLR-10174: fix @Ignore in TestMultipleAdditiveTreesModel

commit ae1fb106f38c75257a69c2aad1c751f14fead105
Author: Steve Rowe <sarowe@...>
Date:   2017-06-07T23:21:10Z

    SOLR-10501: Test sortMissing{First,Last} with points fields.

commit 60f9c7b916d04774411e7474b5fbae1052f45293
Author: Dawid Weiss <dweiss@...>
Date:   2017-06-08T06:35:18Z

    LUCENE-7864: IndexMergeTool is not using intermediate hard links (even if 
possible)

commit 9586b919563281d8e4c23452c90f096be5af0e63
Author: Martijn van Groningen <martijn.v.groningen@...>
Date:   2017-06-07T17:55:32Z

    LUCENE-7869: Changed MemoryIndex to sort 1d points.
    
    In case of 1d points, the PointInSetQuery.MergePointVisitor expects that 
these points are visited in ascending order.
    Prior to this change the memory index doesn't do this and this can result 
in document with multiple points that should match to not match.

commit c09d6b0f73ba703b57efab864e927a504e65b433
Author: Christine Poerschke <cpoerschke@...>
Date:   2017-06-08T09:15:54Z

    SOLR-10174: reduce makeFeatureWeights code duplication in tests

commit bff7deef17719ed20e9a274e68998cfbb3a76d50
Author: Cassandra Targett <ctargett@...>
Date:   2017-06-07T19:58:47Z

    Ref Guide: Change PDF description list font to bold instead of italic for 
better readability

commit 76786f9689b57955acca8654224ee0e613d62f92
Author: Cassandra Targett <ctargett@...>
Date:   2017-06-07T19:59:20Z

    Ref Guide: remove errant + in TIP formatting

commit e5175163c787fecd6633b00d304d589a9fe49fe7
Author: Cassandra Targett <ctargett@...>
Date:   2017-06-08T14:18:03Z

    Ref Guide: fix incorrect admonition type style definition in theme

commit 894fcefd60b779fd64fd3a259544339866d8d2f6
Author: Cassandra Targett <ctargett@...>
Date:   2017-06-08T14:55:41Z

    Ref Guide: reduce size of quote blocks

commit efe4d727e174f843eed7d7cecbb842a840cfb873
Author: Cassandra Targett <ctargett@...>
Date:   2017-06-08T15:53:22Z

    Ref Guide: several minor typos and format fixes for 6.6 Guide

commit fd95901708ec481c6e4ce01dd751f1a23460da00
Author: Joel Bernstein <jbernste@...>
Date:   2017-06-08T17:13:05Z

    SOLR-10853:Allow the analyze Stream Evaluator to operate outside of a stream

commit afe14bf751ee76bfd19972775fb0d484571fbb3e
Author: Joel Bernstein <jbernste@...>
Date:   2017-06-08T19:18:59Z

    SOLR-10351: Add documention

commit 76e2c700216e4809ff4dc0b237c8f4a12b63d1e8
Author: Joel Bernstein <jbernste@...>
Date:   2017-06-08T19:28:42Z

    Ref Guide: Edit stream evaluators description

commit 116631014dd7c3ea925961f21fbc50c099538e24
Author: Cassandra Targett <ctargett@...>
Date:   2017-06-08T20:29:09Z

    SOLR-10854: Add full Solr logo and use it for PDF title page; add "author" 
and pubdate metadata to title page

commit b45e04a5fa7d5cfd84d9528f9db9ef6c2a8116b4
Author: Ishan Chattopadhyaya <ishan@...>
Date:   2017-06-08T23:13:34Z

    Add 6.6.0 back compat test indexes

commit cf52cdde0df5e15b2d6e297098c8da7dedaafc9c
Author: Cassandra Targett <ctargett@...>
Date:   2017-06-09T12:41:52Z

    SOLR-10854: change PDF subtitle to use "solr-guide-version" to add "-DRAFT" 
to front page when applicable

commit 32d93ae05befee53331986248c34c79a5472a82c
Author: Joel Bernstein <jbernste@...>
Date:   2017-06-09T00:55:20Z

    SOLR-10855: Null pointer exceptions in CartesianProductStream toExpression 
and explain methods

commit 3bdf58b16ea3093ce3595b3ae27348d0013413c9
Author: Joel Bernstein <jbernste@...>
Date:   2017-06-09T15:55:11Z

    Ref Guide: Add knn documentations

commit be33af99d5eb52061535d546093c8794b0237a96
Author: Joel Bernstein <jbernste@...>
Date:   2017-06-09T16:18:42Z

    Ref Guide: knn documentation

commit 895fdc65a0fe116d469d8bc7cab6dca81d2bdef8
Author: Joel Bernstein <jbernste@...>
Date:   2017-06-09T16:23:58Z

    Ref Guide: knn documentation

commit 01a02eb77e2d8832b170de76fb5245a27717cda1
Author: Cassandra Targett <ctargett@...>
Date:   2017-06-09T17:07:06Z

    Ref Guide: reduce levels in PDF TOC; increase font size for literal text

commit 66301dc6ea10d1dd1700066e1fd1877578b1f31c
Author: Cassandra Targett <ctargett@...>
Date:   2017-06-09T17:04:30Z

    Ref Guide: escape brackets so they don't come out as arrows

commit 1fcbadcfa5f3734af3a06e2cfb4b02ce0c357957
Author: Cassandra Targett <ctargett@...>
Date:   2017-06-09T16:44:55Z

    Ref Guide: escape pipes in the table

commit 477eeea1ede3eac12328a57642f88cb6ea8994b8
Author: Chris Hostetter <hossman@...>
Date:   2017-06-09T16:36:01Z

    SOLR-10829: Fixed IndexSchema to enforce that uniqueKey can not be Points 
based for correctness
    
    (cherry picked from commit 8cd826f2936853d345c863e51c50eeaa9754a061)

commit 6e1467a4f26e14497d0b9e69348cefc936728bf3
Author: Cassandra Targett <ctargett@...>
Date:   2017-06-09T18:49:29Z

    Ref Guide: fix incomplete source declaration

----


---

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

Reply via email to