Re: TermDoc to TermDocsEnum

2011-03-23 Thread nitinhardeniya
kup > > Tom > http://www.hathitrust.org/blogs/large-scale-search > > > > -Original Message- > From: nitinhardeniya [mailto:[hidden > email]<http://user/SendEmail.jtp?type=node&node=2721619&i=0&by-user=t>] > > Sent: Tuesday, March 22, 2011 1:

Re: TermDoc to TermDocsEnum

2011-03-22 Thread nitinhardeniya
kely you need to use >> MultiFields.getTermDocsEnum, but that entails a performance hit (vs >> going segment by segment yourself). >> >> Mike >> >> http://blog.mikemccandless.com >> >> On Tue, Mar 22, 2011 at 1:56 PM, nitinhardeniya >> <[hid

Re: TermDoc to TermDocsEnum

2011-03-22 Thread nitinhardeniya
candless.com > > On Tue, Mar 22, 2011 at 1:56 PM, nitinhardeniya > <[hidden > email]<http://user/SendEmail.jtp?type=node&node=2716623&i=0&by-user=t>> > wrote: > > > hi > > > > I have a code that work fine with lucene 3.2 where i used TermD

TermDoc to TermDocsEnum

2011-03-22 Thread nitinhardeniya
hi I have a code that work fine with lucene 3.2 where i used TermDocs to find the corpusTF here is the code public void calculateCorpusTF(IndexReader reader) throws IOException { // TODO Auto-generated method stub Iterator it = word.iterator(); I