mirror of
https://github.com/simon987/opendirectories-bot-2.git
synced 2025-04-19 18:16:42 +00:00
6 results instead of 10
This commit is contained in:
parent
9ffd2c141a
commit
7a33e7796d
2
run.py
2
run.py
@ -32,7 +32,7 @@ def process_query(comment, bot, query):
|
|||||||
print("Search query '" + query + "'")
|
print("Search query '" + query + "'")
|
||||||
|
|
||||||
hits = od_db_client.search(
|
hits = od_db_client.search(
|
||||||
query, 0, 10,
|
query, 0, 6,
|
||||||
"score", [],
|
"score", [],
|
||||||
0, 0,
|
0, 0,
|
||||||
False, ["path", "name^5", "name.nGram^2"],
|
False, ["path", "name^5", "name.nGram^2"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user