method of static class JsNgram

Description

Load full text at id (url) and show at result.

Example
deferred.push(JsNgram.loadFullText(selector, docId, pos, hiLen, text));
      
Usage

loadFullText(selector, docId, pos, hiLen, tag);

Argument selector is a html element where the content belongs. Argument docId is a document id used in json index files. Argument pos is a keyword location stored in json index files. Argument hiLen is a length of the keyword that is to be hilighted. Argument tag is an additional information passed to the html generator. This loads the preview text content and show at the preview area of result html.