Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Journal Article update is redinixing
Hi guys, I need to modify a custom field of a Journal Article and that it is visible in the indexes, I'm looking inside the JournalArticle service and I see that the JournalArticle ModelListener only has the clearCache, so I would like to ask if anyone knows to make me sureJournalArticleLocalService.updateJournalArticle (journalArticle);Are you reindexing the JournalArticle? or i need call to IndexerRegistryUtil.getIndexer(JournalArticle.class).reindex(journalArticle);
Hey Adrian,If you set the custom field to be searcheable, then it should be added to the index for you automatically when you add/update/delete the journal article. Is that not working for you?