Github user iverase commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/451#discussion_r218112746
  
    --- Diff: lucene/core/src/test/org/apache/lucene/util/bkd/TestBKD.java ---
    @@ -1063,7 +1064,7 @@ public void testWastedLeadingBytes() throws Exception 
{
     
         Directory dir = newFSDirectory(createTempDir());
         int numDocs = 100000;
    -    BKDWriter w = new BKDWriter(numDocs+1, dir, "tmp", numDims, 
bytesPerDim, 32, 1f, numDocs, true);
    +    BKDWriter w = new BKDWriter(numDocs+1, dir, "tmp", numDims, numDims, 
bytesPerDim, 32, 1f, numDocs, true);
    --- End diff --
    
    I have just seen there is already a test using different index and data 
dimensions, still it would be worthy to check if possible that data dimensions 
are properly propagated.


---

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

Reply via email to