Skip to content

Latest commit

 

History

History
60 lines (58 loc) · 4.91 KB

File metadata and controls

60 lines (58 loc) · 4.91 KB

Build examples

$ make test

Try the examples

Once the make test is done, you will see some executable examples under the path ./cmake_build/examples. Examples for MilvusClient:

  • ./cmake_build/examples/v1/sdk_array_v1: example to show the usage of Array field.
  • ./cmake_build/examples/v1/sdk_db_v1: example to show the usage of databases.
  • ./cmake_build/examples/v1/sdk_default_value_v1: example to show the usage of default value.
  • ./cmake_build/examples/v1/sdk_dml_v1: example to show the usage of dml interfaces.
  • ./cmake_build/examples/v1/sdk_dynamic_field_v1: example to show the usage of dynamic fields.
  • ./cmake_build/examples/v1/sdk_filter_template_v1: example to show the usage of filter template.
  • ./cmake_build/examples/v1/sdk_full_text_match_v1: example to show the usage of BM25 function.
  • ./cmake_build/examples/v1/sdk_general_v1: a general example to show the basic usage.
  • ./cmake_build/examples/v1/sdk_group_by_v1: a general example to show the usage of grouping search.
  • ./cmake_build/examples/v1/sdk_hybrid_search_v1: example to show the usage of hybrid search interface.
  • ./cmake_build/examples/v1/sdk_iterator_query_v1: example to show the usage of query iterator.
  • ./cmake_build/examples/v1/sdk_iterator_search_v1: example to show the usage of search iterator.
  • ./cmake_build/examples/v1/sdk_json_v1: example to show the usage of JSON field.
  • ./cmake_build/examples/v1/sdk_nullable_field_v1: example to show the usage of nullable field.
  • ./cmake_build/examples/v1/sdk_partition_key_v1: example to show the usage of partition key.
  • ./cmake_build/examples/v1/sdk_rbac_v1: example to show the usage of RBAC.
  • ./cmake_build/examples/v1/sdk_run_analyzer_v1: example to show the usage of run_analyzer().
  • ./cmake_build/examples/v1/sdk_text_match_v1: example to show the usage of TEXT_MATCH.
  • ./cmake_build/examples/v1/sdk_vector_binary_v1: example to show the usage of BinaryVector field.
  • ./cmake_build/examples/v1/sdk_vector_fp16_v1: example to show the usage of Float16Vector/BFloat16Vector field.
  • ./cmake_build/examples/v1/sdk_vector_sparse_v1: example to show the usage of SparseVector field.

Examples for MilvusClientV2:

  • ./cmake_build/examples/v2/sdk_array_v2: example to show the usage of Array field.
  • ./cmake_build/examples/v2/sdk_db_v2: example to show the usage of databases.
  • ./cmake_build/examples/v2/sdk_default_value_v2: example to show the usage of default value.
  • ./cmake_build/examples/v2/sdk_dml_v2: example to show the usage of dml interfaces.
  • ./cmake_build/examples/v2/sdk_dynamic_field_v2: example to show the usage of dynamic fields.
  • ./cmake_build/examples/v2/sdk_filter_template_v2: example to show the usage of filter template.
  • ./cmake_build/examples/v2/sdk_full_text_match_v2: example to show the usage of BM25 function.
  • ./cmake_build/examples/v2/sdk_general_v2: a general example to show the basic usage.
  • ./cmake_build/examples/v2/sdk_geometry_field_v2: a general example to show the usage of Geometry field.
  • ./cmake_build/examples/v2/sdk_group_by_v2: a general example to show the usage of grouping search.
  • ./cmake_build/examples/v2/sdk_hybrid_search_v2: example to show the usage of hybrid search interface.
  • ./cmake_build/examples/v2/sdk_iterator_query_v2: example to show the usage of query iterator.
  • ./cmake_build/examples/v2/sdk_iterator_search_v2: example to show the usage of search iterator.
  • ./cmake_build/examples/v2/sdk_json_v2: example to show the usage of JSON field.
  • ./cmake_build/examples/v2/sdk_multi_analyzer_v2: example to show the usage of multi-analyzer for full text match.
  • ./cmake_build/examples/v2/sdk_nullable_field_v2: example to show the usage of nullable field.
  • ./cmake_build/examples/v2/sdk_optimize_v2: example to show the usage of Optimize().
  • ./cmake_build/examples/v2/sdk_partition_key_v2: example to show the usage of partition key.
  • ./cmake_build/examples/v2/sdk_rbac_v2: example to show the usage of RBAC.
  • ./cmake_build/examples/v2/sdk_rerank_function_v2: example to show the usage of rerank function.
  • ./cmake_build/examples/v2/sdk_run_analyzer_v2: example to show the usage of run_analyzer().
  • ./cmake_build/examples/v2/sdk_simple_v2: example to quickly create a simple collection.
  • ./cmake_build/examples/v2/sdk_struct_field_v2: example to show the usage of struct field.
  • ./cmake_build/examples/v2/sdk_text_match_v2: example to show the usage of TEXT_MATCH.
  • ./cmake_build/examples/v2/sdk_timestamptz_field_v2: example to show the usage of Timestamptz field.
  • ./cmake_build/examples/v2/sdk_vector_binary_v2: example to show the usage of BinaryVector field.
  • ./cmake_build/examples/v2/sdk_vector_fp16_v2: example to show the usage of Float16Vector/BFloat16Vector field.
  • ./cmake_build/examples/v2/sdk_vector_int8_v2: example to show the usage of Int8Vector field.
  • ./cmake_build/examples/v2/sdk_vector_sparse_v2: example to show the usage of SparseVector field.