private EsRequest findOrCreateDoc ( String nodeKey ) throws IOException { EsRequest doc = client . getDocument ( name ( ) , workspace , nodeKey ) ; return doc != null ? doc : new EsRequest ( ) ; }
Searches indexed node s properties by node key or creates new empty list .