Create index/mapping even if no data

maybe comment this block of code