But the answer is, as always: it depends.
A good way to start is RTFM. Google has many guides on how to optimize your website for their indexing service.