Ah, I apologize. My use of the word "frequency" was misleading. By that, I meant, the number of hits/documents, whose fields have that value. Once again:
doc a=title:1,keyword:a,contents:somelongmemoryhoggingstring doc b=title:1,keyword:a,contents:somelongmemoryhoggingstring doc c=title:1,keyword:b,contents:somelongmemoryhoggingstring doc d=title:2,keyword:b,contents:somelongmemoryhoggingstring doc e=title:2,keyword:b,contents:somelongmemoryhoggingstring doc f=title:3,keyword:b,contents:somelongmemoryhoggingstring I'd like to have the following : For the title field, 3 documents have "1" as title 2 documents have "2" as title 1 document has "3" as title Is it clearer now? k On Tue, 8 Mar 2005 13:03:19 +0000 (GMT), mark harwood wrote: > The new TermFreqVector code sounds like what you need > here. This gives you fast access to precomputed totals > of term frequencies for each document. > > See IndexReader.getTermFreqVector > > > Send instant messages to your online friends > http://uk.messenger.yahoo.com > > -------------------------------------------------------------------- > - To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]