[{"data":1,"prerenderedAt":189},["ShallowReactive",2],{"page-\u002Fgetting-started\u002Fconfiguration":3},{"id":4,"title":5,"body":6,"description":181,"extension":182,"meta":183,"navigation":184,"path":185,"seo":186,"stem":187,"__hash__":188},"content\u002F1.getting-started\u002F3.configuration.md","Configuration",{"type":7,"value":8,"toc":177},"minimark",[9,22,167],[10,11,12,13,17,18,21],"p",{},"Every setting is an environment variable and also a command-line flag (",[14,15,16],"code",{},"--database-url",", ",[14,19,20],{},"--listen",", and so on).",[23,24,25,41],"table",{},[26,27,28],"thead",{},[29,30,31,35,38],"tr",{},[32,33,34],"th",{},"Variable",[32,36,37],{},"Default",[32,39,40],{},"Meaning",[42,43,44,58,73,88,107,122,137,152],"tbody",{},[29,45,46,52,55],{},[47,48,49],"td",{},[14,50,51],{},"DATABASE_URL",[47,53,54],{},"required",[47,56,57],{},"Postgres connection string.",[29,59,60,65,70],{},[47,61,62],{},[14,63,64],{},"LISTEN",[47,66,67],{},[14,68,69],{},"127.0.0.1:4000",[47,71,72],{},"Address and port to listen on.",[29,74,75,80,85],{},[47,76,77],{},[14,78,79],{},"POOL_SIZE",[47,81,82],{},[14,83,84],{},"16",[47,86,87],{},"Database connections in the pool. All are opened and warmed at startup.",[29,89,90,95,100],{},[47,91,92],{},[14,93,94],{},"IMPORTANCE_WEIGHT",[47,96,97],{},[14,98,99],{},"10",[47,101,102,103,106],{},"Weight of ",[14,104,105],{},"importance"," (0–1) against the BM25 text score.",[29,108,109,114,119],{},[47,110,111],{},[14,112,113],{},"RANKED_TIMEOUT_MS",[47,115,116],{},[14,117,118],{},"250",[47,120,121],{},"Budget for an importance-ranked query.",[29,123,124,129,134],{},[47,125,126],{},[14,127,128],{},"FOCUS_TIMEOUT_MS",[47,130,131],{},[14,132,133],{},"1000",[47,135,136],{},"Budget shared by all focus-box queries of one request.",[29,138,139,144,149],{},[47,140,141],{},[14,142,143],{},"FALLBACK_TIMEOUT_MS",[47,145,146],{},[14,147,148],{},"2000",[47,150,151],{},"Budget for the text-only fallback query.",[29,153,154,159,164],{},[47,155,156],{},[14,157,158],{},"RUST_LOG",[47,160,161],{},[14,162,163],{},"geolith_search=info,tower_http=info",[47,165,166],{},"Log filter.",[168,169,171],"alert",{"type":170},"info",[10,172,173,174,176],{},"Postgres must allow at least ",[14,175,79],{}," connections for the server, plus any you need for tests and maintenance.",{"title":178,"searchDepth":179,"depth":179,"links":180},"",2,[],"Environment variables and flags of the geolith-search binary.","md",{},true,"\u002Fgetting-started\u002Fconfiguration",{"title":5,"description":181},"1.getting-started\u002F3.configuration","X8CotQVyZZYLO9wOpYXTQ5PpIZIHBhqXDsk4rwfNZUo",1791345919967]