Bug 1019675 - use term query for id search

the previously used query was deprecated in ES 1.x - AFAICT, a term query does the same job.