Lines Matching refs:posting
313 * a posting. This is shared between the builder and the index
316 * @param {object} posting - The posting for a given term
319 lunr.idf = function (posting, documentCount) {
322 for (var fieldName in posting) {
324 documentsWithTerm += Object.keys(posting[fieldName]).length
2043 * For each term get the posting and termIndex, this is required for
2047 posting = this.invertedIndex[expandedTerm],
2048 termIndex = posting._index
2056 * The posting is the entry in the invertedIndex for the matching
2060 fieldPosting = posting[field],
2303 posting = tuple[1]
2306 invertedIndex[term] = posting
2503 // create an initial posting if one doesn't exist
2505 var posting = Object.create(null)
2506 posting["_index"] = this.termIndex
2510 posting[fields[k]] = Object.create(null)
2513 this.invertedIndex[term] = posting