I'm not quite sure what you mean by "order with numeric logic". You're right, the default ordering is by score. I can't think of anything that would arbitrarily sort by a varying input string, that is id:(a OR b OR c OR d) would sort differently than id:(b OR a OR d Or c).
Perhaps if you outlined the problem you're trying to solve alternate approaches might be possible... Best Erick On Fri, Mar 2, 2012 at 4:22 AM, Luis Cappa Banda <luisca...@gmail.com> wrote: > The only reference I found is: > > http://stackoverflow.com/questions/5753079/solr-query-without-order > > Anyone had the same problem? Maybe using a dynamic field could solve this > issue? > > Thanks! > > > Luis Cappa. > > > 2012/3/2 Luis Cappa Banda <luisca...@gmail.com> > >> Hello! >> >> Just a brief question. I'm querying by my docs ids to retrieve the whole >> document data from them, and I would like to retrieve them in the same >> order as I queried. Example: >> >> *q*=id:(A+OR+B+OR+C+OR...) >> >> And I would like to get a response with a default order like: >> >> response: >> >> *docA*:{ >> >> } >> >> >> *docB*:{ >> >> } >> >> >> *docC*:{ >> >> } >> >> Etc. >> >> >> The default response get the documents in a different order, I supose that >> due to Solr internal score algorithm. The ids are not numeric, so there is >> no option to order them with a numeric logic. Any suggestion? >> >> Thanks a lot! >> >> >> >> Luis Cappa. >>