Update tests to verify term and Query changes

This commit is contained in:
Nicholas Steicke
2019-01-08 09:57:42 +10:30
parent 3f322082f0
commit 314a93b409
+10
View File
@@ -25,6 +25,16 @@ function basic_test() {
});
index.search("foo");
index.query(q => {
q.term(
lunr.tokenizer('search terms'),
{
wildcard: lunr.Query.wildcard.TRAILING,
presence: lunr.Query.presence.REQUIRED
}
);
});
}
function pipeline_test() {