search_performance:
  collections:
    -
      server:
        db_config.primary_path: /test/milvus/db_data_011/filter/sift_10m_128_l2/
        cache_config.cpu_cache_capacity: 32GB
        engine_config.use_blas_threshold: 0
        engine_config.gpu_search_threshold: 100
        gpu_resource_config.enable: true
        gpu_resource_config.cache_capacity: 6GB
        gpu_resource_config.search_resources:
          - gpu0
          - gpu1
        gpu_resource_config.build_index_resources:
          - gpu0
          - gpu1
        wal_enable: true
      collection_name: sift_10m_128_l2
      run_count: 2
      top_ks: [1, 1000]
      nqs: [1, 100, 1200]
      filters:
       -
         term: "{'term': {'float': {'values': [float(i) for i in range(collection_size // 2)]}}}"
       -
         range: "{'range': {'int64': {'LT': 0, 'GT':collection_size // 2}}}"
       -
         range: "{'range': {'int64': {'LT': 0, 'GT':collection_size}}}"
       -
         term: "{'term': {'float': {'values': [float(i) for i in range(collection_size)]}}}"
       -
         range: "{'range': {'int64': {'LT': 0, 'GT':collection_size // 100000}}}"
       -
         range: "{'range': {'int64': {'LT': collection_size // 2, 'GT': collection_size}}}"
         term: "{'term': {'float': {'values': [float(i) for i in range(collection_size // 2)]}}}"
      search_params:
        -
          nprobe: 8
    -
      server:
        db_config.primary_path: /test/milvus/db_data_011/filter/sift_10m_128_l2_ivf_flat
        cache_config.cpu_cache_capacity: 32GB
        engine_config.use_blas_threshold: 0
        engine_config.gpu_search_threshold: 100
        gpu_resource_config.enable: true
        gpu_resource_config.cache_capacity: 6GB
        gpu_resource_config.search_resources:
          - gpu0
          - gpu1
        gpu_resource_config.build_index_resources:
          - gpu0
          - gpu1
        wal_enable: true
      collection_name: sift_10m_128_l2
      run_count: 2
      top_ks: [1, 10, 100, 1000]
      nqs: [1, 10, 100, 1000, 1200]
      filters:
       -
         term: "{'term': {'float': {'values': [float(i) for i in range(collection_size // 2)]}}}"
       -
         range: "{'range': {'int64': {'LT': 0, 'GT':collection_size // 2}}}"
       -
         range: "{'range': {'int64': {'LT': 0, 'GT':collection_size}}}"
       -
         term: "{'term': {'float': {'values': [float(i) for i in range(collection_size)]}}}"
       -
         range: "{'range': {'int64': {'LT': 0, 'GT':collection_size // 100000}}}"
       -
         range: "{'range': {'int64': {'LT': collection_size // 2, 'GT': collection_size}}}"
         term: "{'term': {'float': {'values': [float(i) for i in range(collection_size // 2)]}}}"
      search_params:
        -
          nprobe: 8
        -
          nprobe: 32