mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Integration with Infinity (#2894)
### What problem does this PR solve? Integration with Infinity - Replaced ELASTICSEARCH with dataStoreConn - Renamed deleteByQuery with delete - Renamed bulk to upsertBulk - getHighlight, getAggregation - Fix KGSearch.search - Moved Dealer.sql_retrieval to es_conn.py ### Type of change - [x] Refactoring
This commit is contained in:
@ -67,7 +67,7 @@ docker compose -f docker/docker-compose-base.yml up -d
|
||||
1. Add the following line to `/etc/hosts` to resolve all hosts specified in **docker/service_conf.yaml** to `127.0.0.1`:
|
||||
|
||||
```
|
||||
127.0.0.1 es01 mysql minio redis
|
||||
127.0.0.1 es01 infinity mysql minio redis
|
||||
```
|
||||
|
||||
2. In **docker/service_conf.yaml**, update mysql port to `5455` and es port to `1200`, as specified in **docker/.env**.
|
||||
|
||||
@ -1280,7 +1280,7 @@ Success:
|
||||
"document_keyword": "1.txt",
|
||||
"highlight": "<em>ragflow</em> content",
|
||||
"id": "d78435d142bd5cf6704da62c778795c5",
|
||||
"img_id": "",
|
||||
"image_id": "",
|
||||
"important_keywords": [
|
||||
""
|
||||
],
|
||||
|
||||
@ -1351,7 +1351,7 @@ A list of `Chunk` objects representing references to the message, each containin
|
||||
The chunk ID.
|
||||
- `content` `str`
|
||||
The content of the chunk.
|
||||
- `image_id` `str`
|
||||
- `img_id` `str`
|
||||
The ID of the snapshot of the chunk. Applicable only when the source of the chunk is an image, PPT, PPTX, or PDF file.
|
||||
- `document_id` `str`
|
||||
The ID of the referenced document.
|
||||
|
||||
Reference in New Issue
Block a user