Files
nexus/knowledgebase/csd-wiki/ICSD/Update-HNSW-parameters-for-enhanced-Aviator-semantic-search-accuracy_686074753.md
2026-04-18 17:09:43 +08:00

1.4 KiB

Update-HNSW-parameters-for-enhanced-Aviator-semantic-search-accuracy_686074753

Introduction

This topic describes how to update the HNSW parameters to improve the semantic search accuracy on the PM tenant.

Update the HNSW parameters

This task is per tenant.

  1. Log in to https://<Milvus_attu_host>/?#/connect.
  2. From the navigation pane on the left, select Collection.
  3. Hover over the required collection and click the highlighted release button that appears at the end of this row.
  4. Release the specified Vector DB collection. The collection status will change to Unloaded. The Aviator capability will be unavailable until you complete all the steps in this task. During this period, the incoming index data will not be stored in this collection.
  5. Click the released collectionn name.
  6. On the Schema tab, click the remove button of the Vector field, and then type drop to confirm.
  7. Click +INDEX of the Vector field.
  8. On the dialog box that appears, enter a descriptive name and then set Index Type to HNSW, Metric Type to L2, M to 64, and Ef Construction to 512. Click Create.
  9. Go back to the collection list, hover over the collection, and click the load button that appears at the end.
  10. Load the specified Vector DB collection. The collection status will change to Loaded.