Eq-function for node-searching with indexes.