separate indexes for each attribute (fixes #10)