public
/
node_zettair.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Can now search index and obtain results object (always capitalized summaries)
[node_zettair.git]
/
test.js
diff --git
a/test.js
b/test.js
index
d226268
..
110af5b
100755
(executable)
--- a/
test.js
+++ b/
test.js
@@
-3,9
+3,4
@@
const zet = require('./build/Release/zet');
const obj = new zet.Index();
-console.log(obj.plusOne());
-// Prints: 11
-console.log(obj.plusOne());
-// Prints: 12
-console.log(obj.plusOne());
-// Prints: 13
+console.log(obj.search('moby', 0, 10));