这是indexloc提供的服务,不要输入任何密码
Skip to content
Discussion options

You must be logged in to vote

Is the weighting system using a range of 1 to 100?

No, you can also use 0.5 to lower the result-score

If I have search engine A at 1, and B at 2, is that any different from having A at 1 and B at 100?

Yes, results from B are ranked 100 times higher then those from A .. in a result page results from B are shown before results from a

searxng/searx/results.py

Lines 131 to 140 in d52919c

def result_score(result):
weight = 1.0
for result_engine in result['engines']:
if hasattr(engines[result_engine], 'weight'):
weight *= float(engines[result_engine].weight)
occurrences = len(result['positions'])
return sum((occurrences * weight) / po…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by return42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants