diff --git a/conf/mapping.json b/conf/mapping.json index 713153eb1d7447ec4b5e07aee0e7deea89acc1be..5cc11dde7a6810f989185db7844f01d137bb7617 100644 --- a/conf/mapping.json +++ b/conf/mapping.json @@ -1,4 +1,4 @@ -{ + { "settings": { "index": { "number_of_shards": 4, @@ -29,6 +29,33 @@ } } }, + { + "ulong": { + "match": "*_ulong", + "mapping": { + "type": "unsigned_long", + "store": "true" + } + } + }, + { + "long": { + "match": "*_long", + "mapping": { + "type": "long", + "store": "true" + } + } + }, + { + "short": { + "match": "*_short", + "mapping": { + "type": "short", + "store": "true" + } + } + }, { "numeric": { "match": "*_flt", diff --git a/conf/service_conf.yaml b/conf/service_conf.yaml index 5bf7b782a4b50119275c259ace856ca388831a43..661d18132879778a43c5efa333f280ce872ff2c2 100644 --- a/conf/service_conf.yaml +++ b/conf/service_conf.yaml @@ -5,23 +5,23 @@ mysql: name: 'rag_flow' user: 'root' password: 'infini_rag_flow' - host: '127.0.0.1' - port: 5455 + host: 'mysql' + port: 3306 max_connections: 100 stale_timeout: 30 minio: user: 'rag_flow' password: 'infini_rag_flow' - host: '127.0.0.1:9000' + host: 'minio:9000' es: - hosts: 'http://127.0.0.1:1200' + hosts: 'http://es01:9200' user_default_llm: - factory: '通义ĺŤé—®' + factory: 'Tongyi-Qianwen' api_key: 'sk-xxxxxxxxxxxxx' oauth: github: - client_id: 302129228f0d96055bee - secret_key: e518e55ccfcdfcae8996afc40f110e9c95f14fc4 + client_id: xxxxxxxxxxxxxxxxxxxxxxxxx + secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxx url: https://github.com/login/oauth/access_token authentication: client: diff --git a/docker/service_conf.yaml b/docker/service_conf.yaml index f78f15db2fae5f67507fb5ed2b59eef1467794f4..661d18132879778a43c5efa333f280ce872ff2c2 100644 --- a/docker/service_conf.yaml +++ b/docker/service_conf.yaml @@ -20,8 +20,8 @@ user_default_llm: api_key: 'sk-xxxxxxxxxxxxx' oauth: github: - client_id: 302129228f0d96055bee - secret_key: e518e55ccfcdfcae8996afc40f110e9c95f14fc4 + client_id: xxxxxxxxxxxxxxxxxxxxxxxxx + secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxx url: https://github.com/login/oauth/access_token authentication: client: