SolrExampleStreamingBinaryTest num results != expected exceptions 
(reproducible).
---------------------------------------------------------------------------------

                 Key: SOLR-3233
                 URL: https://issues.apache.org/jira/browse/SOLR-3233
             Project: Solr
          Issue Type: Bug
            Reporter: Dawid Weiss
            Priority: Minor
             Fix For: 4.0


{noformat}
git clone -b SOLR-3220 --depth 0 g...@github.com:dweiss/lucene_solr.git
git co 9b1efde7a4882caa9dd04556aa4b849db68081a5
cd solr
ant test-core -Dtests.filter=*.SolrExampleStreamingBinaryTest 
-Dtests.filter.method=testStatistics -Drt.seed=F57E2420CEBDC955 
-Dargs="-Dfile.encoding=UTF-8"
{noformat}

The number of returned committed docs is invalid, this is reproducible and 
occurs in many methods, not only in testStatistics?

{code}
    int i=0;               // 0   1   2   3   4   5   6   7   8   9 
    int[] nums = new int[] { 23, 26, 38, 46, 55, 63, 77, 84, 92, 94 };
    for( int num : nums ) {
      SolrInputDocument doc = new SolrInputDocument();
      doc.setField( "id", "doc"+i++ );
      doc.setField( "name", "doc: "+num );
      doc.setField( f, num );
      server.add( doc );
    }
    server.commit();
    assertNumFound( "*:*", nums.length ); // <<< FAILURE here. Indeed, a query 
via web browser  shows not all docs are in?
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to