query inverse

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

query inverse

This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hello to all,
I am a beginner with es, excuse the banality of the question
to make a query like "select FieldA, FieldB from tb where between 100 and FieldA FieldB" what should I do?
I tried searching but could not find anything of the kind, and as examples are all on the contrary.
I'm using version 1.7.2 on 3 node

i try:
  "query": {
    "range": {
      "1326337633": {
        "gte": {
          "field": "ip_int_from"
        "lt": {
          "field": "ip_int_to"
but is in error :(

Hello and thanks