Hi Team,
I have followed steps mentioned in the below URL
Search with result highlight
I have added custom type metadata to fetch in the thumbnail, have added in the following function ( ie:AccountNo)
if (this.searchTerm) { // this.set('params.system_fulltext', this.formatFulltext(this.searchTerm)); this.set('params.system_fulltext', this.searchTerm); this.set('params.highlight', 'ie:AccountNo,dc:title.fulltext,ecm:binarytext,ecm:binarytext.common,dc:description.common,dc:description.fulltext,nxtag:tags.label,note:note.fulltext,file:content.name'); }
and added following translation in messages.json file
"searchresults.highlight.field.ie:AccountNo":"AccountNo"
i'm able to search the account no when entered in the full text search field, but instead of displaying Account No = in the thumbnail
its displaying searchResults.sort.field.IE:AccountNo =
instead of AccountNo =
Have attached the screenshot for the same.
I have cleared cache from tomcat Nuxeo sdk work folder
please let me know if i'm missing any configuration.
Thanks and Regards,
Srivathsa K