I am working on creating a Q&A site like stack overflow for particular topics. Just like on Stack overflow when a new question is asked a dynamic url is generated for example mysite.com/questions/{id}/{title}
how can I get search engines to index these new url's immediately a new question is asked.
Like
if(question.asked()){
url = question.url;
search_engines.index(url);
}
Is there any API provided by popular search engines like Google and Bing to automatically inform them about new url's? Thanks in advance.