You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dawid Weiss (Created) (JIRA)" <ji...@apache.org> on 2012/03/12 09:43:44 UTC

[jira] [Created] (SOLR-3233) SolrExampleStreamingBinaryTest num results != expected exceptions (reproducible).

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 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"
{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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Resolved] (SOLR-3233) SolrExampleStreamingBinaryTest num results != expected exceptions (reproducible).

Posted by "Dawid Weiss (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dawid Weiss resolved SOLR-3233.
-------------------------------

    Resolution: Cannot Reproduce
      Assignee: Dawid Weiss

Cannot reproduce anymore with this seed, possibly fixed in between.
                
> 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
>            Assignee: Dawid Weiss
>            Priority: Minor
>             Fix For: 4.0
>
>
> {noformat}
> 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"
> {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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org