Building a search index is quite tricky – there are only 3 indexes I am aware of – Bing, Google and Brave where Brave was also relying on Bing for 5% of queries initially. They rather do the same thing that Perplexity does here – a combo of a search index and a crawler on top