This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Creating WritableDatabase db1 | |
TermGenerator SetDatabase | |
TermGenerator SetFlags | |
WritableDatabase BeginTransaction | |
Assembling document doc1encoding | |
ReplaceDocument 0 doc1encoding | |
Assembling document doc2encoding | |
ReplaceDocument 0 doc2encoding | |
Assembling document doc3encoding | |
ReplaceDocument 0 doc3encoding |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var stream = require('stream'); | |
var util = require('util'); | |
function MyStream() { stream.Writable.call(this); } | |
util.inherits(MyStream, stream.Writable); | |
MyStream.prototype._write = function (chunk, encoding, callback) { | |
console.log("_write " + chunk.length); | |
callback(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var xapian = require('../xapian-binding'); | |
var xapiantesting = require('./testing-xapian'); | |
var tests= | |
[ | |
{ | |
name: 'initialize doc', | |
fatal: true, | |
action: function(objects, sync, fn) { objects.doc = new xapian.Document(); fn(null); } | |
}, |