From fa8aec3aae619820a228fdc118317d65cdc961a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20MANSUY?= Date: Thu, 4 Dec 2025 19:19:22 +0800 Subject: [PATCH] cherry-pick 88a45523 --- lightrag/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightrag/constants.py b/lightrag/constants.py index 5f1fd3ba..eedecd65 100644 --- a/lightrag/constants.py +++ b/lightrag/constants.py @@ -71,8 +71,8 @@ VALID_SOURCE_IDS_LIMIT_METHODS = { SOURCE_IDS_LIMIT_METHOD_KEEP, SOURCE_IDS_LIMIT_METHOD_FIFO, } -# Default file_path limit in meta data for entity and relation (Use same limit method as source_ids) -DEFAULT_MAX_FILE_PATHS = 30 +# Maximum number of file paths stored in entity/relation file_path field (For displayed only, does not affect query performance) +DEFAULT_MAX_FILE_PATHS = 100 # Field length of file_path in Milvus Schema for entity and relation (Should not be changed) # file_path must store all file paths up to the DEFAULT_MAX_FILE_PATHS limit within the metadata.