Skip to content

Instantly share code, notes, and snippets.

Benjamin Gathmann abulhol

  • Joe Security LLC
  • Germany
Block or report user

Report or block abulhol

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@abulhol
abulhol / gist:0869e5c418b77f97e752
Last active Apr 28, 2017
ES query with top level inner hits that works
View gist:0869e5c418b77f97e752
{
"query" : {
"bool" : {
"must" : [{
"nested" : {
"path" : "a.b.c.d.first",
"query" : {
"nested" : {
"path" : "a.b.c.d.first.e.f.second",
"query" : {
@abulhol
abulhol / gist:a5ae6e01e2927c320f61
Last active Feb 10, 2016
ES empty reply (inner hits)
View gist:a5ae6e01e2927c320f61
"hits" : {
"total" : 531,
"max_score" : 0.0,
"hits" : [ {
"_index" : "testing",
"_type" : "reports",
"_id" : "AVLBTo7_0keClpVwERg_",
"_score" : 0.0,
"inner_hits" : {
"kids0" : {
@abulhol
abulhol / example.json
Last active Feb 10, 2016
ES Query that returns some empty hits
View example.json
{ "a" : {
"b" : {
"c": {
"d":{
"first" : [
{"e": {
"f": {
"second" : [
{"message": "Nobody expects the Spanish inquisition!"}
You can’t perform that action at this time.