What behavior are you trying to see? You are allowed to sort on fields that are potentially empty, they just sort to the top or bottom depending on your sort order. Now, if you Query on the fields that could be empty, you won't see the result, but if your document is valid for the query, you can sort on whatever field you want whether the document has that field or not.
Or am I reading your question incorrectly? -- View this message in context: http://lucene.472066.n3.nabble.com/Sorting-on-arbitary-custom-fields-tp1668114p1668364.html Sent from the Solr - User mailing list archive at Nabble.com.