I make a Q&A website like Stack Overflow, and now I want to add it searching capability.
I want going to use the Google Search API but one of my friends said that it's better to have your own searching engine because Google doesn't index all pages (specially recently added pages) and also it has negative effect on the site ranking.
My question is that these statements is true or not and what is the best way for searching in this site?