: I think it does make sense to keep them together. : offset and length only make sense if an ordering is specified.
true. : If we change the name, we should also move it to a top-level class : (from a static inner). : Any suggestions? good point .. promoting it to first order is probably more important then renaming. i don't have any good suggestions for a better name ... i nthe back of my mind the word "slice" keeps coming up since it effectively decides which "slice" of a DocList/DocSet you get in the result ... (SliceSortSpec?) but that may just be me. since 99% of hte use cases are pulling sort, rows, and start from some SOlrParams, that use case should probably be refactored into a utility method as well. -Hoss