| « Plesk's Awstats show Select Period in wrong order | LazyInitializationException in servlet » |
Tips and tricks for searching Google
No blog would be complete with out an article on how to use Google search more effectively. All the instructions are on the Google site so I thought I would talk through some of the more advanced search techniques.
I was recently searching for information on OpenSessionInViewInterceptor. There wasn’t much out there. I needed to narrow my search to just the Spring Reference. So here comes the first tip:
site:static.springframework.org OpenSessionInViewInterceptor
This limits all the results to entries which are at the website http://static.springframework.org/.
The search was throwing back loads of links to the API documentation so, I needed to restrict the results again to the reference section:
site:static.springframework.org inurl:reference OpenSessionInViewInterceptor
This was now giving me results for all the versions. Next I needed to reduce the search down to include the version number. Google only lets you have 1 colon’ed option per type, so:
site:static.springframework.org inurl:reference inurl:2.5 OpenSessionInViewInterceptor
returns nothing! You must join them together:
site:static.springframework.org inurl:(reference and 2.5) OpenSessionInViewInterceptor