Sitemap

Sunday, April 5, 2015

UCM: Customizing "Quick Search" to search specified metadata fields

Add the QuickSearchFields settings in the config.cfg file.
QuickSearchFields=dDocName|dDocTitle|xComments|dDocFullText

In order to make the above setting work with the full text search solutions (DATABASE.FULLTEXT and OracleTextSearch) as well as DATABASE.METADATA, the above setting will need to be paired with the setting listed below in the config.cfg file:
QuickSearchOperators=hasAsSubstring,hasAsWord,hasAsWord,fullText

*** The default operator for Quick Search is "hasAsWord".***

To emulate the same search in idoc:
dDocName <SUBSTRING> `xxx` <AND> dDocTitle <CONTAINS> `xxx` <AND> xComments <CONTAINS> `xxx` <AND> <ftx>xxx<ftx>

For more info:
https://blogs.oracle.com/kyle/entry/adding_fields_to_quick_search
http://www.redstonecontentsolutions.com/technical-blog/adding-fields-to-quicksearch

No comments:

Post a Comment