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.