Terms are relatively easy, see TermFreqVector in the JavaDocs. Phrases aren't as easy, before you go there, though, what is the high-level problem you're trying to solve? Possibly this is an XY problem (see http://people.apache.org/~hossman/#xyproblem).
Best Erick On Thu, May 6, 2010 at 6:39 AM, manjula wijewickrema <manjul...@gmail.com>wrote: > Hi, > > I am new to Lucene. If I want to know the term or phrase frequency of an > input document, will it be possible through Lucene? > > Thanks, > Manjula >