Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

es java painless source int value increase

double price = doc['newPrice'].value > 0.0 ? doc['price'].value / doc['newPrice'].value : 0; _score * params.constant * price
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #es #java #painless #source #int #increase
ADD COMMENT
Topic
Name
2+3 =