日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

HugeGraph 配置参数

發布時間:2024/8/23 编程问答 43 豆豆
生活随笔 收集整理的這篇文章主要介紹了 HugeGraph 配置参数 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
  • gremlin-server.yaml
參數名稱參數說明默認值
scriptEvaluationTimeout查詢超時時間,單位毫秒30000

  • rest-server.properties
參數名稱參數說明默認值
restserver.max_worker_threads服務器最大工作線程2*cpu
restserver.min_free_memory當服務器內存小于該值時,請求將被拒絕64
restserver.request_timeout請求超時時間(以秒為單位),
-1表示沒有超時。
30
restserver.connection_idle_timeout不活動連接的存活時間30
restserver.connection_max_requests允許在一個保持連接狀態下處理的HTTP請求的最大數量
,-1表示無限制。
256
batch.max_edges_per_batch批量提交的最大邊數500
batch.max_vertices_per_batch批量提交的最大頂點數500
batch.max_write_ratio批處理寫入的最大線程比率,
僅在batch.max_write_threads為0時生效。
50
batch.max_write_threads批處理寫入的最大線程數,如果值為0,
則實際值將設置為batch.max_write_ratio * total-rest-threads
0
exception.allow_trace是否允許異常跟蹤堆棧false

  • 基本配置項及后端配置項對應配置文件:{graph-name}.properties,如hugegraph.properties
參數名稱參數說明默認值
vertex.cache_capacity頂點緩存的最大緩存大小,單位是 items10000000
vertex.cache_expire頂點緩存的到期時間(以秒為單位) 600
edge.cache_capacity邊緩存的最大緩存大小,單位是 items1000000
edge.cache_expire邊緩存的終止時間(以秒為單位)600
query.page_size使用分頁查詢時每個頁面的大小500
search.text_analyzer分詞ikanalyzer
search.text_analyzer_modeSpecify the mode for the text analyzer, the available mode of analyzer are
{
word: [MaximumMatching, ReverseMaximumMatching, MinimumMatching,
ReverseMinimumMatching, BidirectionalMaximumMatching,
BidirectionalMinimumMatching, BidirectionalMaximumMinimumMatching,
FullSegmentation, MinimalWordCount, MaxNgramScore, PureEnglish],
ansj: [BaseAnalysis, IndexAnalysis, ToAnalysis, NlpAnalysis],
hanlp: [standard, nlp, index, nShort, shortest, speed],
smartcn: [],
jieba: [SEARCH, INDEX],
jcseg: [Simple, Complex],
mmseg4j: [Simple, Complex, MaxWord],
ikanalyzer: [smart, max_word]}
smart

總結

以上是生活随笔為你收集整理的HugeGraph 配置参数的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。