I really don't understand this. If you don't have "fieldnew", where is the value coming from? It's not in the index so....
If you mean you're _adding_ a field after the index already has some docs in it, then the normal sort rules apply and you can specify sortMisingFirst/Last to tell Solr where other docs without that field shold go. Normal sort rules are '&sort=field1 asc,field2 desc' etc. Best, Erick On Tue, May 31, 2016 at 7:53 AM, Mark Robinson <mark123lea...@gmail.com> wrote: > Hi, > > My core does not have a field say *fieldnew*. > > *Case 1:-* > But in my results I would like to have *fieldnew *also and my results > should be sorted on only this new field. > > *Case 2:-* > Just adding one more case further. > Suppose I have other fields also in the sort criteria and *fieldnew *is one > among them, in that case how do I realize this multi field sort also. > > Could some one suggest a way pls. > > Thanks! > Mark.