Hey guys,
  I have 2 indexes.  I have a read alias on both of the indexes (A and B), 
and a write alias on 1 (B).   I then insert 10 documents to the write alias 
which inserts them into index B.  I perform the following query.

{
  "from" : 0,
  "size" : 1,
  "post_filter" : {
    "bool" : {
      "must" : {
        "term" : {
          "edgeSearch" : 
"4cd2ba95-e2c9-11e4-bb39-c6c6eebe8d56_application__4cd2ba96-e2c9-11e4-bb39-c6c6eebe8d56_owner__users__SOURCE"
        }
      }
    }
  },
  "sort" : [ {
    "fields.double" : {
      "order" : "asc",
      "nested_filter" : {
        "term" : {
          "name" : "ordinal"
        }
      }
    }
  }, {
    "fields.long" : {
      "order" : "asc",
      "nested_filter" : {
        "term" : {
          "name" : "ordinal"
        }
      }
    }
  }, {
    "fields.string.exact" : {
      "order" : "asc",
      "nested_filter" : {
        "term" : {
          "name" : "ordinal"
        }
      }
    }
  }, {
    "fields.boolean" : {
      "order" : "asc",
      "nested_filter" : {
        "term" : {
          "name" : "ordinal"
        }
      }
    }
  } ]
} 

I receive my first record, and a scroll id, as expected.

On my next request, I perform a  request with the the scroll Id from the 
first response. 

What I expect:  I expect to receive my second record, and a new scrollId.

What I get:  I get the first record again, with the same scroll Id.

I'm on a 1.4.4 server, with a 1.4.4 node client running locally integration 
testing.


When I use the same logic on a read alias with a single index, I do not 
experience this problem, so I'm reasonably certain my client is coded 
correctly.


Any ideas?

Thanks,
Todd

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/8a317e5f-eb6f-4aef-a257-3902d31c3567%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to