Check if the query contains an FTS (full-text search) condition. Returns: bool: True if `fts` is set with a query_string or match_string.
(self)
| 117 | return self.vector is not None and len(self.vector) > 0 |
| 118 | |
| 119 | def has_fts(self) -> bool: |
| 120 | """Check if the query contains an FTS (full-text search) condition. |
| 121 | |
| 122 | Returns: |
| 123 | bool: True if `fts` is set with a query_string or match_string. |
| 124 | """ |
| 125 | if self.fts is not None: |
| 126 | return bool(self._fts_query_string()) or bool(self._fts_match_string()) |
| 127 | return False |
| 128 | |
| 129 | def _fts_query_string(self) -> str: |
| 130 | return self._fts_string( |