To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
Outcome of a vector search: the matching documents, and any errors encountered while running it. Returned by VectorSearchManager.search. A caller should check hasErrors before using the results, since a failed search still returns a result rather than throwing.
Implements: Serializable
Properties
| Property | Returns | Description |
|---|---|---|
| errors | CommonList<String> | Error messages recorded against this result. Empty if the search completed without error. |
| results | CommonList<DocItem> | Documents matched by the search, in ranking order. Empty if the search found nothing or could not be run. |
Methods
getResults()
Returns: CommonList<DocItem>
Documents matched by the search, in ranking order. Empty if the search found nothing or could not be run.
getErrors()
Returns: CommonList<String>
Error messages recorded against this result. Empty if the search completed without error.
hasErrors()
Returns: boolean
Whether this result carries one or more error messages.