jonathanmccann/liferay-portal — pull request #553 by ssmith353 (2014-12-09 17:36:27+00:00)
Title: LPS-52099

This improves search times by not adding the unnecessary groupId's to a "this site" search, the "everything" search returns the "0", which would fail the "if" check, and fall over to the original logic. Dramatically reducing the search time for "this site" searches.