新增消费潜力评级

This commit is contained in:
shenjian@fangjia.com
2022-10-24 15:13:21 +08:00
parent 369ce9668e
commit fb597416e5
11 changed files with 43 additions and 21 deletions
+2 -2
View File
@@ -3,12 +3,12 @@
"""
import logging
import pandas as pd
from goojia_utils import DEV_MONGO_CLIENT, ElasticSearchClient, commutils, dateutils, areautils
from goojia_utils import MAIN_MONGO_CLIENT, ElasticSearchClient, commutils, dateutils, areautils
from elasticsearch import helpers
from concurrent.futures import ThreadPoolExecutor
log = logging.getLogger(__name__)
seaweed_conn = DEV_MONGO_CLIENT.get_collection('fangjia', 'seaweed')
seaweed_conn = MAIN_MONGO_CLIENT.get_collection('fangjia', 'seaweed')
es206_client = ElasticSearchClient(host='192.168.0.206')
index_name = "community_summary"