You probably have to do that at the application layer, there's no good way that I know of to do this in Solr. That is, get the response (which contains the original query) and re-sort the results list before display.
Best Erick On Wed, Oct 17, 2012 at 12:13 AM, trilok2000 <trilok.prit...@imail.org> wrote: > Hi there, > > I'm searching with the following query: > /select?q=*:*&fq=fld:dddd OR fld:aaaa OR fld:bbbb > where, the field fld is a String type and uniqueKey. > > I'm getting results as: > > <doc> > <str name="fld">aaaa</str> > </doc> > <doc> > <str name="fld">bbbb</str> > </doc> > <doc> > <str name="fld">cccc</str> > </doc> > > Looks like the results are sorted by fld. But I want the results to be > "un-sorted"... meaning, I want the results to be in the order in which I > have given in the fq condition. That is, I want the results as follows: > > <doc> > <str name="fld">dddd</str> > </doc> > <doc> > <str name="fld">aaaa</str> > </doc> > <doc> > <str name="fld">bbbb</str> > </doc> > > How do we do that? Thanks in advance! > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/results-with-no-default-sort-order-tp4014125.html > Sent from the Solr - User mailing list archive at Nabble.com.