search
Search a collection with near-text
Performs a semantic (near-text) search over the objects of a collection. The query text is vectorized server-side by the collection's vectorizer module and the closest objects are returned, each as an envelope of its id, the selected properties, the selected references and, when requested, its retrieval metadata.
post/search/{collection}/near-text
Request
- Base URL: https://localhost:8080/v1
- URL: https://localhost:8080/v1/search/{collection}/near-text
- Auth: one of:
- none
- OAuth 2 (implicit, authorization URL http://to-be-configured-in-the-application-config)
Path parameters
collectionstring required
The name (or alias) of the collection to search. A lowercase first letter is normalized to the canonical uppercase form.
Request body
Example request
{
"where": {
"operator": "GreaterThanEqual",
"path": [
"inCity",
"city",
"name"
],
"valueInt": 2000,
"valueNumber": 3.14,
"valueString": "my search term",
"valueText": "my search term",
"valueDate": "TODO",
"valueNumberArray": [
3.14
],
"valueBooleanArray": [
true,
false
],
"valueStringArray": [
"my search term"
],
"valueTextArray": [
"my search term"
]
}
}Response
Search performed successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.