Remove old unused test script files (#32970)
This commit is contained in:
parent
5937e499e1
commit
29ba143e2c
|
@ -1 +0,0 @@
|
||||||
Math.log(_score * 2) + params.my_modifier
|
|
|
@ -1,5 +0,0 @@
|
||||||
double profit = 0;
|
|
||||||
for (t in params._agg.transactions) {
|
|
||||||
profit += t
|
|
||||||
}
|
|
||||||
return profit
|
|
|
@ -1 +0,0 @@
|
||||||
params._agg.transactions = []
|
|
|
@ -1 +0,0 @@
|
||||||
params._agg.transactions.add(doc.type.value == 'sale' ? doc.amount.value : -1 * doc.amount.value)
|
|
|
@ -1,5 +0,0 @@
|
||||||
double profit = 0;
|
|
||||||
for (a in params._aggs) {
|
|
||||||
profit += a
|
|
||||||
}
|
|
||||||
return profit
|
|
|
@ -1,2 +0,0 @@
|
||||||
// Simple script to load a field. Not really a good example, but a simple one.
|
|
||||||
doc[params.field].value
|
|
Loading…
Reference in New Issue