KocsisDaniel/liferay-portal — pull request #72 by lipusz (2012-07-09 17:32:01+00:00)
Title: [TECHNICAL-SUPPORT] LPS-28404 Make Basic and Advanced searches for Web Contents as Related Assets able to add the right localized fields to the queries

Hello,

Check my comments at LPP-3565 and LPS-28404 to get more information about the problem and my solution.
Please, review my changes.

One note: when the search type is "AND", we need to avoid adding both "title" (or "description") and "title_xx_XX" to the query when the asset type is JournalArticle. That's another reason for I've chosen to implement and @Override the "addSearchLocalizedTerm" method in the JournalIndexer.

Regards,
Tibor