Hi all, I'm encountering a strange behavior when executing a search-scroll on a single node of ES-1.3.4 with Java client.
The scenario is as follows: 1. Start a single node of version 1.3.4 2. Add snapshot repository pointing to version 1.1.1 snapshots 3. Restore snapshots version 1.1.1 snapshot to 1.3.4 node 4. Execute search on an index with 5. client.prepareSearch("my_index*").setQuery(QueryBuilders.filteredQuery (QueryBuilders.matchAllQuery(), FilterBuilders.queryFilter( QueryBuilders.queryString(s"$terms AND snapshotNo:[${mdp.fromSnapshot} TO ${mdp.toSnapshot}]") )) ) .addFields(OBFields.values.map(_.toString).toList: _*).setSize(pageSize ).addSort(OBFields.updateNo.toString, SortOrder.ASC) .setScroll(TimeValue.timeValueMinutes(3)).execute().actionGet() 6. Execute the following search scroll client.prepareSearchScroll(scrollId).setScroll(TimeValue.timeValueMinutes (3)).execute().actionGet() I have a loop iterating over #6, providing the same scrollId and checking for (result.getHits().getHits().legth == 0) to terminate. I keep getting the same result 'page' with the same amount of results. Any Idea?? Thanks, Yarden -- 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/be0f385c-9d46-492b-a818-9bb04c92b214%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.