Related search query data with ChatGPT

In LeoSearch, I keep the URL, title, manually entered tags and a small description of the pages I index. Results are found with an inverted index and ranked using the Okapi BM25 ranking function. I implemented both of those in ClickHouse when I wrote the initial prototype of LeoSearch.

This works really well for doing keyword matches and ranking them. I am really satisfied with the result quality, it always seems to find what I want.

This technique only takes advantage of the user input (in the form of the search query), and the information from the results that have keyword matches.