Remove old unused test script files (#32970)

This commit is contained in:
Jonathan Little 2018-08-27 16:29:50 -07:00 committed by Ryan Ernst
parent 5937e499e1
commit 29ba143e2c
6 changed files with 0 additions and 15 deletions

View File

@ -1 +0,0 @@
Math.log(_score * 2) + params.my_modifier

View File

@ -1,5 +0,0 @@
double profit = 0;
for (t in params._agg.transactions) {
profit += t
}
return profit

View File

@ -1 +0,0 @@
params._agg.transactions = []

View File

@ -1 +0,0 @@
params._agg.transactions.add(doc.type.value == 'sale' ? doc.amount.value : -1 * doc.amount.value)

View File

@ -1,5 +0,0 @@
double profit = 0;
for (a in params._aggs) {
profit += a
}
return profit

View File

@ -1,2 +0,0 @@
// Simple script to load a field. Not really a good example, but a simple one.
doc[params.field].value