this is now a very expensive operation. can you use an elastic search query for it? @esoergel thought that would work.