Hi,

I have 2 fields which I would like to sort by, one is a "date" field and the 
other is "sint".

My query tries to search all entries which their ctype is video sorted by 
tstamp descending and then sorted by popularity:

q=ctype:video;tstamp desc;popularity desc&fl=tstamp,popularity

However the results returned are sorted only by the tstamp.

<doc>
<int name="popularity">0</int>
<date name="tstamp">2007-05-08T12:58:45,023Z</date>
</doc>
<doc>
<int name="popularity">0</int>
<date name="tstamp">2007-05-08T12:58:39,062Z</date>
</doc>
<doc>
<int name="popularity">4923</int>
<date name="tstamp">2007-05-08T12:58:37,710Z</date>
</doc>
<doc>
<int name="popularity">0</int>
<date name="tstamp">2007-05-08T12:58:37,651Z</date>
</doc>

Any idea what I'm missing?

TIA,

Gal



Reply via email to