(is_linear=False)
| 52 | index_param = HnswIndexParam(m=16, ef_construction=64, **index_options) |
| 53 | |
| 54 | def query_param(is_linear=False): |
| 55 | return HnswQueryParam( |
| 56 | ef=128, is_using_refiner=use_refiner, is_linear=is_linear |
| 57 | ) |
| 58 | else: |
| 59 | index_param = VamanaIndexParam( |
| 60 | max_degree=16, search_list_size=64, **index_options |