move indexing out of transaction
Merge pull request #67 from fooman/move-indexing-out-of-transaction

move indexing out of transaction