rotty3000/liferay-portal — pull request #201 by lipusz (2013-05-01 18:43:16+00:00)
Title: [TECHNICAL-SUPPORT] LPS-34697 Web Content (JournalArticle) default locale is not fully considered in the index and in the search query when it is different from the default locale of the portal

Hi Ray,

I've finished testing the changes that Brian asked.
As getSnipetLocale() belongs to the BaseIndexer, and my null-check relies on a non-general field, I placed it at the top of JournalArticleIndexer.doGetSummary().

I also have modified the "isBlank" checks for content, since we should use the snipetLocale and it cannot be null with new changes.

Please, review my new changes.

Thanks,
Tibor