Lines Matching defs:ref
26 * this.ref('id')
162 throw "malformed field ref string"
1860 * @property {string} ref - The reference of the document this result represents.
2227 ref: docRef,
2260 .map(function (ref) {
2261 return [ref, this.fieldVectors[ref].toJSON()]
2294 ref = tuple[0],
2297 fieldVectors[ref] = new lunr.Vector(elements)
2371 * The default ref is 'id'.
2373 * The ref should _not_ be changed during indexing, it should be set before any documents are
2376 * @param {string} ref - The name of the reference field in the document.
2378 lunr.Builder.prototype.ref = function (ref) {
2379 this._ref = ref
2455 * ref and all fields to index already having been specified.
2457 * The document must have a field name as specified by the ref (by default this is 'id') and