Solr sorts on indexed fields only, currently. And only a single value
per document per sort field (careful with analyzed fields, and no
multiValued fields).
Unwise and impossible - of course this depends on the scale you're
speaking of. How many documents? What types of fields? How small
is fairly small number of fields?
Erik
On Aug 26, 2009, at 6:33 PM, Isaac Foster wrote:
Hi,
I have a situation where a particular kind of document can be
categorized in
different ways, and depending on the categories it is in it will have
different fields that describe it (in practice the number of fields
will be
fairly small, but whatever). These documents will each have a full-
text
field that Solr is perfect for, and it seems like Solr's dynamic
fields
ability makes it an even more perfect solution.
I'd like to be able to sort by any of the fields, but indexing them
all
seems somewhere between unwise and impossible. Will Solr sort by
fields that
are unindexed?
iSac