def METHOD_NAME(tmp_path):
    nmslib_hnsw_params = NmslibHnswParam(
        space="negdotprod_sparse",
        m=10,
        ef_s=200,
        ef_c=200,
        post=0,
    )
    return ItemKNN(
        1,
        weighting=None,
        index_builder=DriverNmslibIndexBuilder(
            index_params=nmslib_hnsw_params, index_store=SparkFilesIndexStore()
        ),
    )