Mpdreamz/NEST — Issue #17: Index with id
Author: mikaelnet
Created: 2011-12-09 21:15:39+00:00
State: open

Hi,
I'd prefer to Index objects with a pre-set id. As I understand it, the method of doing this would be to call

Index(T object, string index, string type, [int|string] id)

If possible, I would like to not have to specify index and type, like "Index(T object, string id)", but of course that'l have the same footprint as Index(T object, string index).

Should there be another method for this, or should Client.Settings.DefaultIndex and Client.InferTypeName() be made public?

Thanks!