lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Cappa Banda <luisca...@gmail.com>
Subject Re: A sorting question.
Date Fri, 02 Mar 2012 09:22:04 GMT
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 <luiscappa@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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message