Re: TermDoc to TermDocsEnum

2011-03-24 Thread Michael McCandless
ch_3x/lucene/contrib/misc/src/java/org/apache/lucene/misc/HighFreqTerms.java?view=markup >> >> Tom >> http://www.hathitrust.org/blogs/large-scale-search >> >> >> >> -Original Message- >> From: nitinhardeniya [mailto:[hidden >> emai

Re: TermDoc to TermDocsEnum

2011-03-23 Thread nitinhardeniya
; > } > } > catch (Exception e) { > // TODO: handle exception > e.printStackTrace(); > } > > } > > but now i have to use TermDocEnum because i am using luc

RE: TermDoc to TermDocsEnum

2011-03-23 Thread Burton-West, Tom
logs/large-scale-search -Original Message- From: nitinhardeniya [mailto:nitinharden...@gmail.com] Sent: Tuesday, March 22, 2011 1:57 PM To: java-user@lucene.apache.org Subject: TermDoc to TermDocsEnum hi I have a code that work fine with lucene 3.2 where i used TermDocs to find the cor

Re: TermDoc to TermDocsEnum

2011-03-23 Thread Michael McCandless
               tfcoll.tfA=freq; >>> >                                System.out.print( text +"  "+ freq); >>> >                                if(tfcoll.totalTF()==0) >>> >                                { >>> >                        

Re: TermDoc to TermDocsEnum

2011-03-22 Thread nitinhardeniya
{ >> >//System.out.println(" >> "+tfcoll.tfA+" "+tfcoll.tfD+" "+tfcoll.tfC); >> > System.out.println("Text "+text+ >> " Freq "+fre

Re: TermDoc to TermDocsEnum

2011-03-22 Thread nitinhardeniya
catch (Exception e) { > > // TODO: handle exception > > e.printStackTrace(); > >} > > > >} > > > > but now i have t

Re: TermDoc to TermDocsEnum

2011-03-22 Thread Michael McCandless
eption e) { >                        // TODO: handle exception >                        e.printStackTrace(); >                } > >        } > > but now i have to use TermDocEnum because i am using lucene dev4.0 which > does not have TermDocs method i was trying to change m

TermDoc to TermDocsEnum

2011-03-22 Thread nitinhardeniya
ange my code .please refer to new code [commented ] and tell me how to use this method in a proper way . if you can provide an example that would be great. tds = reader.termDocsEnum(skipDocs, "content", term); I have tried using null at skipdoc because i don't want to skip anything but it th