Skip to content

Commit

Permalink
update query interface
Browse files Browse the repository at this point in the history
  • Loading branch information
zcdb committed Mar 18, 2024
1 parent 397963b commit 28d2894
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/source/use_op/op_doc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,24 @@ Query interface return format
}]
}

Parameter Description:

+--------------+------------+-------+----------------------------------------------------------------------------------------+
| field name | field type | must | remarks |
+==============+============+=======+========================================================================================+
| document_ids | json array | false | filter or document_ids must have one |
+--------------+------------+-------+----------------------------------------------------------------------------------------+
| partition_id | json array | false | specify get document on which partition |
+--------------+------------+-------+----------------------------------------------------------------------------------------+
| filter | json array | false | query criteria filtering: numeric filtering + label filtering |
+--------------+------------+-------+----------------------------------------------------------------------------------------+
| fields | json array | false | Specify which fields to return. By default, only the unique id and score are returned. |
+--------------+------------+-------+----------------------------------------------------------------------------------------+
| vector_value | bool | false | default false |
+--------------+------------+-------+----------------------------------------------------------------------------------------+
| size | int | false | Specify the number of returned results, the default is 50 |
+--------------+------------+-------+----------------------------------------------------------------------------------------+

document/search
--------
Supports similarity retrieval based on specified ID or vector value, and returns the specified Top K most similar Documents.
Expand Down

0 comments on commit 28d2894

Please sign in to comment.