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:
@ -50,8 +50,8 @@ class Document(Base):
|
||||
return res.content
|
||||
|
||||
|
||||
def list_chunks(self,page=1, page_size=30, keywords="", id:str=None):
|
||||
data={"keywords": keywords,"page":page,"page_size":page_size,"id":id}
|
||||
def list_chunks(self,page=1, page_size=30, keywords=""):
|
||||
data={"keywords": keywords,"page":page,"page_size":page_size}
|
||||
res = self.get(f'/datasets/{self.dataset_id}/documents/{self.id}/chunks', data)
|
||||
res = res.json()
|
||||
if res.get("code") == 0:
|
||||
|
||||
Reference in New Issue
Block a user