--- Erik Hatcher <[EMAIL PROTECTED]> wrote: > Get back to using your DistanceComparatorSource, and > couple that with > a SortField.FIELD_SCORE, like this: > > Sort sort = new Sort(new SortField[] {new > SortField("location", > new DistanceComparatorSource(<whatever args > you need>)), > SortField.FIELD_SCORE});
Thanks! Does the order of thest two fields matter? I mean, with your code, would distance take precedence over relevance? Anyway, I'll try it out and play with ordering and such. -James > > Erik > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]