Set index/type in dataprovider. Add trace.
Merge pull request #10 from codemix/fix-dataprovider

Set index/type in dataprovider. Add trace.