I like the idea behind the Elasticsearch JSON query syntax, but for simple dorking around in the browser window, it’s a bit complex for me to wrap my head around.

So this post is a simple list of queries that have been helpful in generating results quickly before I go about creating JSON queries.

Search for documents which have a field called sourceSize with the values 991 or 990.

Then, sort the documents by sourceSize ascending.

Finally, because ES will only show you 10 results by default, increase the number of results that are returned to 20.

/_search?q=sourceSize:991+OR+sourceSize:990&sort=sourceSize:asc&size=20