Thread: Website Document Search Disadvantages for Article Titles

Website Document Search Disadvantages for Article Titles

From
"sheng yan"
Date:

Hello everyone, the pg documentation is very rich. When I am not very familiar with it, I often need to search for specific content by keywords. However, I have found a small issue with the search.


For example, I want to search for 'Data Types' , the result is  https://www.postgresql.org/search/?u=%2Fdocs%2F17%2F&q=Data+Types . In fact, I want to find the article with this title, which is this article https://www.postgresql.org/docs/17/datatype.html, but its order is 28, which is the eighth on the second page.

It seems that the search is retrieving content from each page (the specific sorting rule is unknown) without distinguishing whether it is a title? I would like to ask if there is a way to increase the weight of the title, or any other method to achieve a similar purpose (for example, sorting according to the order of keywords appearing in the article, of course, in my opinion, recording the order may be time-consuming, this is just an idea)?


regards, sheng yan