M
M
My joy2020-01-09 12:22:40
elasticsearch
My joy, 2020-01-09 12:22:40

Is a field not larger than another field in the same document?

Hi friends.
I want to find documents in which one field is not equal to another field in the same document.
I will not think as a condition to put.
there are 2 fields in one document floor and floors (floor and floors in the house)
you need to select docks in which floor != floors (ie not the last floor).
Not the first floor is calculated simply (range gt: 1), but I can’t figure out how “not the last” is.

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