simplified search for ngraph