On Wed, Mar 2, 2011 at 4:19 PM, Scott K <s...@skister.com> wrote: > On Wed, Mar 2, 2011 at 12:21, Chris Hostetter <hossman_luc...@fucit.org> > wrote: >> historicly it has been because of a fundemental limitation in how the >> Lucene FieldCache has historicly worked where the array backed FieldCaches >> use the default numeric value (ie: 0) when docs have no value (but in the >> case of Strings, the default is "null" which is easy to test for) >> >> i am 99.99% certain this has changed on the trunk, so all of the >> Trie*Fields should support the sortMissing* options in 4.x > > I am running a 4.x build and just tried the most recent nightly build, > apache-solr-4.0-2011-03-02_08-06-07.tgz, and am still seeing this > issue.
Hmmm, this looks like maybe a bug. It works if you put sortMissingLast="true" on the fieldType, but not if it's just on the field. For now, work around by adding it to the fieldType, and I'll investigate. -Yonik http://lucidimagination.com