Mercurial Hosting > luan
comparison scripts/test.luan @ 547:0be287ab0309
add lucene/Versioning and simplify Lucene fn names
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Mon, 15 Jun 2015 01:22:58 -0600 |
| parents | c5a93767cc5c |
| children | f4dfe9c64c25 |
comparison
equal
deleted
inserted
replaced
| 546:eaef1005ab87 | 547:0be287ab0309 |
|---|---|
| 68 ab_testing.test{ name="null", values={"A","B"}, events=test_events, aggregator_factories=aggregator_factories } | 68 ab_testing.test{ name="null", values={"A","B"}, events=test_events, aggregator_factories=aggregator_factories } |
| 69 | 69 |
| 70 for record in range(1,10) do | 70 for record in range(1,10) do |
| 71 local doc = {type="test"} | 71 local doc = {type="test"} |
| 72 ab_testing.to_doc(doc) | 72 ab_testing.to_doc(doc) |
| 73 db.save_document(doc) | 73 db.save(doc) |
| 74 end | 74 end |
| 75 | 75 |
| 76 init() | 76 init() |
| 77 ab_testing.web_page{"All","null"}() | 77 ab_testing.web_page{"All","null"}() |
| 78 | 78 |
