S
S
Semasping2017-04-29 23:08:56
elasticsearch
Semasping, 2017-04-29 23:08:56

Is it possible to search by sum of fields of multiple records?

For example, you need to select 2 records whose field sum is greater than a certain value.
name: one
value: 15
name:two
value:20
name:three
value:11
name:four
value:5
Get 2 records whose sum of fields value>30
should get two options: one+two; two+three
Is this possible using ElasticSearch or do I need to dig the other way?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question