Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions API_Reference/pymilvus/v2.5.x/ORM/Collection/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ A **SearchResult** object that contains a list of **Hits** objects.
│ ├── id
│ ├── distance
│ ├── score
│ ├── vector
│ └── get()
```

Expand Down Expand Up @@ -182,10 +181,6 @@ A **SearchResult** object that contains a list of **Hits** objects.

An alias to **distance**.

- **vector** (*list[float]*)

The vector field of a hit entity.

- **get(*field_name: str*)**

A function to get the value of the specified field in a hit entity.
Expand Down Expand Up @@ -268,10 +263,10 @@ for hits in res:
# Get distance
hit.distance # hit.score

# Get vector
# Get vector in output field by vector field name as attribite
hit.vector

# Get output field
# Get vector by name in output field
hit.get("vector")

```
Expand Down