lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Derek Poh <d...@globalsources.com>
Subject sort on fields that are not mandatory in each document
Date Wed, 27 May 2015 08:36:02 GMT
Hi

I am trying to sort on multiple fields. These fields donot necessary 
exist in every document.
sort=sppddrank asc, ddrank asc

 From the sorted result, it seems that documents which donot have 
sppddrank field is at the top.

How can I make the documents that have the sppddrank field to be on top 
and sortedby it and those documents which do not have the field below?

-Derek


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