private void CreateArtistsIndex() { _indexArtistsBench.Start(); var collation = Collation.Unicode().IgnoreCase(true).IgnoreAccents(true); var artist = Expression.Property("Artist").Collate(collation); var comp = Expression.Property("Compilation"); var index = Index.ValueIndex().On(ValueIndexItem.Expression(artist), ValueIndexItem.Expression(comp)); Db.CreateIndex("byArtist", index); _indexArtistsBench.Stop(); }