Hi Luis,

Do you mean

q=id:(A^10+OR+B^9+OR+C^8+OR...)
I'm not sure whether it woks but

q=id:A^10+OR+id:B^9+OR+id:C^8+OR...)

definitely does

On Fri, Mar 2, 2012 at 1:13 PM, Luis Cappa Banda <luisca...@gmail.com>wrote:

> 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.
>



-- 
Sincerely yours
Mikhail Khludnev
Lucid Certified
Apache Lucene/Solr Developer
Grid Dynamics

<http://www.griddynamics.com>
 <mkhlud...@griddynamics.com>

Reply via email to