(
&self,
collection: &str,
field: &str,
query: &str,
top_k: usize,
params: TextSearchParams,
_allowed_ids: Option<&std::collections::HashSet<Str
| 175 | } |
| 176 | |
| 177 | async fn text_search( |
| 178 | &self, |
| 179 | collection: &str, |
| 180 | field: &str, |
| 181 | query: &str, |
| 182 | top_k: usize, |
| 183 | params: TextSearchParams, |
| 184 | _allowed_ids: Option<&std::collections::HashSet<String>>, |
| 185 | ) -> NodeDbResult<Vec<SearchResult>> { |
| 186 | self.text_search_impl(collection, field, query, top_k, params) |
| 187 | .await |
| 188 | } |
| 189 | |
| 190 | async fn on_collection_purged(&self, _handler: CollectionPurgedHandler) -> NodeDbResult<()> { |
| 191 | // Stateless pgwire-only client: no push capability. The trait |