allow indexname to be set without a value condition
Merge pull request #50 from Medium/giannic-indexname

allow indexname to be set without a value condition