algolia / docsearch-configs

DocSearch - Configurations
https://docsearch.algolia.com/
MIT License
457 stars 1.13k forks source link

The page rank is disordered #959

Closed YiniXu9506 closed 5 years ago

YiniXu9506 commented 5 years ago

Do you want to request a feature or report a bug?

Report a bug

If it is a DocSearch index issue, what is the related index_name ?

index_name= pingcap.com

What is the current behaviour?

The page rank of the return items are disordered.

  1. Go to https://pingcap.com/docs-cn/v3.0/
  2. Search "tidb operator" on the right top input
  3. You will see the order of the return list does not match the page_rank I set in the start_url. Now the order is: dev, v3.0 and v2.1. You can scroll down to see the order.

image

If the current behaviour is a bug, please provide all the steps to reproduce and screenshots with context.

What is the expected behaviour?

The order of the return results should match the page_rank (v3.0, dev, v2.1) I set in docsearch-configs/pingcap.json.

image

What have you tried to solve it?

Any quick clues?

@s-pace PTAL. Thanks

Any other feedback / questions ?

s-pace commented 5 years ago

The higher the page_rank is, the higher the hit will be. You should change the value then