Solr
  1. Solr
  2. SOLR-3233

SolrExampleStreamingBinaryTest num results != expected exceptions (reproducible).

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA
    • Component/s: None
    • Labels:
      None

      Description

      git clone -b SOLR-3220 --depth 0 git@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"
      

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

          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?
      

        Activity

          People

          • Assignee:
            Dawid Weiss
            Reporter:
            Dawid Weiss
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development