powered by Jive Software

Customize Search Plugin

I want to customize the search plugin by adding two additional fields for Exact Match and Case Sensitive Search. I went thru the source of SearchPlugin but any modifications/addtions to getSearchFields() does not reflect on the admin console for Adv. Search. I think this is due to the fact that Jive Msngr has a Search Provider.

Can anyone pls provide pointers on how to go abt customizing the plugin.

Thanks in advance.

Hi Raj,

Which getSearchFields() method are you modifying?

The getSearchFields() method in the SearchPlugin class is only used if the user provider that Messenger is configured to use throws a UnsupportedOperationException. So, if you’'re using LdapUserProvider or the DefaultUserProvider the plugin will use one of those classes getSearchFields() methods.

Hope that help,

Ryan