Thanks, I think I have to read the whole documents. :-)I think this will sometimes confuse people. Because for some fields you MUST call Index method (otherwise you can not query on it), while for other fields you should NOT call Index (otherwise you can not do range query on it). Will this make the semantic of the Index method not clear?
Another question, about the Sort method in Index creation class.I think it's possible for RavenDB to detect the field data type?
I mean, as a RavenDB user, when I index an Int32 field, I would expect that RavenDB can treat it as an Int field automatically, and set the sort field data type to Int.Yes, I can specify the sort field data type myself by calling Sort(...) method, but for int fields, I will expect Int as default sort data type.(If I want to override this setting, then I can call Sort method explicitly)Why RavenDB doesn't do this? Is there other design decisions? Thanks :-)