ragflow/rag/utils
He Wang badf33e3b9
feat: enhance OBConnection.search (#11876)
### What problem does this PR solve?

Enhance OBConnection.search for better performance. Main changes:
1. Use string type of vector array in distance func for better parsing
performance.
2. Manually set max_connections as pool size instead of using default
value.
3. Set 'fulltext_search_columns' when starting.
4. Cache the results of the table existence check (we will never drop
the table).
5. Remove unused 'group_results' logic.
6. Add the `USE_FULLTEXT_FIRST_FUSION_SEARCH` flag, and the
corresponding fusion search SQL when it's false.

### Type of change
- [x] Performance Improvement
2025-12-10 19:13:37 +08:00
..
__init__.py
azure_sas_conn.py
azure_spn_conn.py Refactor function name (#11210) 2025-11-12 19:00:15 +08:00
base64_image.py Refa:replace trio with asyncio (#11831) 2025-12-09 19:23:14 +08:00
doc_store_conn.py Refactor function name (#11210) 2025-11-12 19:00:15 +08:00
es_conn.py Fix: Table parse method issue. (#11627) 2025-12-01 12:42:35 +08:00
file_utils.py
gcs_conn.py feat(gcs): Add support for Google Cloud Storage (GCS) integration (#11718) 2025-12-04 10:44:05 +08:00
infinity_conn.py Bump infinity to v0.6.11. Requires python>=3.11 (#11814) 2025-12-09 16:23:37 +08:00
minio_conn.py Refactor function name (#11210) 2025-11-12 19:00:15 +08:00
ob_conn.py feat: enhance OBConnection.search (#11876) 2025-12-10 19:13:37 +08:00
opendal_conn.py Refa:remove sensitive information (#11873) 2025-12-10 19:08:45 +08:00
opensearch_conn.py Refactor function name (#11210) 2025-11-12 19:00:15 +08:00
oss_conn.py Refactor function name (#11210) 2025-11-12 19:00:15 +08:00
raptor_utils.py feat: Auto-disable Raptor for structured data (Issue #11653) (#11676) 2025-12-03 17:02:29 +08:00
redis_conn.py Refa:replace trio with asyncio (#11831) 2025-12-09 19:23:14 +08:00
s3_conn.py Refactor function name (#11210) 2025-11-12 19:00:15 +08:00
storage_factory.py
tavily_conn.py