Index with 2+ values.

Nov 29, 2011 at 7:52 PM
Edited Nov 29, 2011 at 8:26 PM

I read that it's not reccommended but I wondered if there were any examples.

Is it possible to do something like .WithIndex<Track, MyCustIndex, Guid>() if a serializer is implemented for MyCustIndex?


edit: works as above with a serializer.  I tried it before posting but was doing something silly.

Nov 30, 2011 at 6:39 PM

Best way to handle more than 2 items for the index is to create a class that contains all of the properties you want to index with and index on that class.