I see, looks like it's an object so you'd probably need to check down to the leaf level, like for example:
doc["arranged_retweets.author_gender"].isEmpty() || doc["arranged_retweets.author_link"].isEmpty() -- 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/8831fe76-253d-41f4-bb21-62a98f4e999c%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.