On Tue, Jun 14, 2011 at 7:06 AM, Dawid Weiss <[email protected]> wrote: >> And, if you create & index such Lucene documents, and then do a >> MatchAllDocsQuery sorting by your field, this is (unfortunately) not > > I was thinking about an optimized segment -- then the terms enum on a > given field should be sorted, right?
Ahh, right. So actually it would work if you just enum'd the terms yourself, after indexing and optimizing. And this does amount to an external sort, I think! Mike McCandless http://blog.mikemccandless.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
