mikemccand / luceneutil

Various utility scripts for running Lucene performance tests
Apache License 2.0
205 stars 115 forks source link

Set algo params for force merge in KnnGraphTester #232

Closed jmazanec15 closed 1 year ago

jmazanec15 commented 1 year ago

Description

Sets index writer config codec for force merge operation in KnnGraphTester. Fixes issue where merged segments are built with different algorithm parameters than segments created from createIndex.

This raised a false alarm bug in https://github.com/apache/lucene/issues/12570. PR was originally raised in lucene but I forgot about it: https://github.com/apache/lucene/pull/12002.

Tested locally with the vector-task-100d

msokolov commented 1 year ago

Thanks @jmazanec15 !