get indexed nodes with query

added the ability to get indexed nodes with query