method of static class JsNgram

Description

Show document title at result.

Example
JsNgram.loadTitleInfo(selector, docId);
      
Usage

loadTitleInfo(selector, docId);

Argument selector is a html element to show the document header. Argument docId is a document id used in json index files. This replace the document header using the property titleInfo. Override this method to put more items in the header.