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.

Reply via email to