speeding up RI query parsing for reindex
speeding up the RI graph buildout