Thanks - I was overlooking the Terms Component and given I can specify terms.maxcount I can live without the ascending order.
-----Original Message----- From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com] Sent: Tuesday, January 05, 2010 2:56 AM To: solr-user@lucene.apache.org Subject: Re: Listing Terms by Ascending IDF value . . ? On Tue, Jan 5, 2010 at 9:15 AM, Christopher Ball < christopher.b...@metaheuristica.com> wrote: > Hello, > > I am trying to get a list of highly unusual terms or phrases (for example a > TF of 1 or 2) within an entire index (essentially this would be the inverse > of how Luke gives 'top terms' on the 'Overview' tab). > > I see how I can do this within a specific query using the Term Vector > Component (qt=tvrh). > > Did you mean TermsComponent (qt=terms)? > But do I have to write my own analyzer to get a list for the complete index > in ascending order? > > No, you don't need a custom analyzer. But TermsComponent can only sort by frequency in descending order or by index order (lexicographical order). Perhaps the patch in SOLR-1672 is more suitable for your task. -- Regards, Shalin Shekhar Mangar.