I never needed to use this, but it looks like you can call
IndexReader's termDocs(Term) method.
That will give you TermDocs, which has a freq() method that may do what
you need.

Otis


--- AJIT RAJWADE <[EMAIL PROTECTED]> wrote:
> I am currently facing a difficulty...how do I find the number of
> occurrences of a particular word in a certain document. Currently, I
> get some value called as score which is difficult to interpret. I was
> told to use an interface called TermDocs...any more tips?
> 
> Thanks,
> Ajit
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to