RE: Remove userName and description from Indexer for DLFileEntryIndexer

srini vasulu, modified 6 Years ago. Regular Member Posts: 139 Join Date: 2/22/11 Recent Posts

Hi ,

We need to remove the userName , description and customFields  from indexing because in search time we no need to get data from those fileds is it possible to remove from indexing using Indexer post processor hook? i know we can add one filed exttrea to indexing but i have a doubt about removing. can some one let me know is it possible or not?

 

Thanks,

Srini.

thumbnail
Amos Fong, modified 6 Years ago. Liferay Legend Posts: 2047 Join Date: 10/7/08 Recent Posts
From a quick look, it seems like in the IndexPostProcessor you have the Document object which you can add or remove fields from it.