method of static class JsNgram
Description
Show found result as a list of hits in a doument. Both for perfect matches and partial matches.
Example
JsNgram.showFoundByHit(perfection, selector, 'a/b.txt', 101, 100);
Usage
showFoundByHit(perfection, selector, doc, start, limit);
Argument perfection is a matched data sorted by document. Argument selector is a html element to place the result. Argument doc is a document id. Argument start is a number of items to skip. Argument limit is a number of items to show at once.
This method is branched from the method showFound.
Returns a hash object with a key deferred
with value as an array of jQuery deferred object.
It also has a key next
when there are records not shown yet.