<p dir="auto">Hi all, At the moment I am trying to scan and scroll my ES index to export all the data, but I noticed that not always all the documents are returned. In other words ES says I have 1.115.857 documents in my index, but my export contains 1.049.191 documents. Testing with an index with up to 900.000 document is working fine. Somebody that can explain this behavior?</p>
<p dir="auto">ES is running on a CentOS machine with 6GB of RAM with a ES_HEAP_SIZE of 3GB.</p>
<p dir="auto">It would be useful to be able to query nested objects with the query_string.</p>
<p dir="auto">For example consider the following document structure:</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/graph/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/graph">@graph</a><br>
------------- <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Drug/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Drug">@Drug</a><br>
------------------- <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/value/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/value">@value</a></p>
<p dir="auto">The query could look like this:<br>
"query": {<br>
"query_string" : {<br>
"fields" : ["<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/graph/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/graph">@graph</a>*"]<br>
"query" :"*<a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/value/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/value">@value</a>:paracetamol"<br>
}<br>
}<br>
It can be laborious to explicitly specify nested fields when the document is heavily nested.<br>
What do you think?</p>