Set FTS query on search_query if the query has FTS parameters.
(self, query: Query, search_query: _SearchQuery)
| 220 | return search_query |
| 221 | |
| 222 | def _apply_fts(self, query: Query, search_query: _SearchQuery) -> None: |
| 223 | """Set FTS query on search_query if the query has FTS parameters.""" |
| 224 | if query.has_fts(): |
| 225 | fts = _Fts() |
| 226 | fts.query_string = query._fts_query_string() |
| 227 | fts.match_string = query._fts_match_string() |
| 228 | search_query.fts = fts |
| 229 | |
| 230 | def set_query_vector( |
| 231 | self, query: Query, search_query, collection: _Collection |
no test coverage detected